how to read VCC with internal ADC (with NodeMCU v.0.9)
Posted: Sun Oct 04, 2015 11:51 am
Hi there,
i found a strange behavior of the internal ADC of my NodeMCU v.0.9 (the yellow one):
after setting:
ADC_MODE(ADC_VCC);
I tried to read VCC:
Serial.printf("Vcc: %d \n",analogRead(A0));
but get always 65535 !
Has anybody got same results ?
Any idea on how to solve/work around this problem ?
Regards
Paolo
i found a strange behavior of the internal ADC of my NodeMCU v.0.9 (the yellow one):
after setting:
ADC_MODE(ADC_VCC);
I tried to read VCC:
Serial.printf("Vcc: %d \n",analogRead(A0));
but get always 65535 !
Has anybody got same results ?
Any idea on how to solve/work around this problem ?
Regards
Paolo