-->
Page 1 of 1

ADC adc.readvdd3 problem?

PostPosted: Thu Nov 28, 2019 1:35 am
by tibino
Hi, i have esp-07 and esp-12 with firmware nodemcu 2.2.
Yeasterday I built version 3 (default setting, docker..)

I used simple program
if adc.force_init_mode(adc.INIT_VDD33)
then
node.restart()
end
print("System voltage (mV):", adc.readvdd33(0))

I allways get 65535 :( I tried it on 3 pieces ESP (07,12).

When i returned back to version 2, I get 3362, 3348, 3365 ...

Is it any change in version 3 in module adc? What can i do?

Re: ADC adc.readvdd3 problem?

PostPosted: Thu Nov 28, 2019 10:43 am
by marcelstoer