Left here for archival purposes.

User avatar
By LuRhe
#46135 Hi,
I'm use node.dsleep with option = 4 to prevent high power supply current when reboot from dsleep. If reboot completed my program reads adc value but instead of correct reading at cold boot it returns every time 1024 regardless of actual pin voltage (I've flashed init byte to use adc.read instead of adc.readvdd33). Means dsleep option > 0 that the adc doesn't work correct? This isn't useful and not documented. Can anyone check and explain this?

edit: with dsleep option 0 or dsleep option 2 the function adc.read seams to be functionally