docs:RP2 to mention light and deepsleep
Somehow i got the impression that lightsleep and deepsleep were not working on the RP2 devices. Fortunately ghubcoder posted about PR8832, which prompted me to try using lightsleep.
Perhaps the Quick Ref could include this information. It would also be helpful to mention that when using lightsleep one can not debug/develop using rshell or Thonny.
Arduino Nano ESP32: deepsleep uses more power than lightsleep
With a battery powered Arduino Nano ESP32 (6V at VIN) I get the following power readings (current master; clock speed 240MHz; no other activies running; measuring device is a Voltcraft VC-20 in "mA" mode):
- sleep_ms(10_000): 30.4 mA
- lightsleep(10_000): 2.7 mA
- deepsleep(10_000): 4.6 mA
I would at least expect, that deepsleep uses less power than lightsleep. Additionally the data sheet (https://docs.arduino.cc/resources/datasheets/ABX00083-datasheet.pdf) promises
- 240 uA for lightsleep and
- 7 uA for deepsleep
and the above readings are far away from that.