I have a little bit trouble with the adc, because I try to use the adc for VDD measure. All examples that I found use a external voltage divider (with two resistor). Herehttp://nodemcu.readthedocs.org/en/dev/en/modules/adc/ I found the description for internal adc use but it doesn't work. What could be wrong?
I'm not so familiar to do this:
The default setting in the NodeMCU firmware can be controlled via user_config.h at compile time, by defining one of ESP_INIT_DATA_ENABLE_READVDD33, ESP_INIT_DATA_ENABLE_READADC or ESP_INIT_DATA_FIXED_VDD33_VALUE. To change the setting at a later date, use Espressif's flash download tool to create a new init data block.
Is anyone so clever for solve this problem. However, many thanks for reading, interest and help!
Regards
Rabis49
Attachments
(11.66 KiB) Downloaded 257 times