As the title says... Chat on...

User avatar
By grhhm
#38290 Hi,

By documentation, usage of deep sleep mode requires connection of GPIO16 to a RST pin.
On other hand, node.key/node.led functions control LED and button multiplexor on the same GPIO16 by default.

From my understanding, if i use node.key/node.led functions i can't use deep sleep mode. Is that correct?
And, on contrary, if i use deep sleep mode i can't use node.key/node.led functions.
Is there a workaround for this limitation?

Is it possible to set other GPIO for node.key/node.led functions?
Is there an example of short/long button press in LUA for non-GPIO16?

Thank you!