switch off/on or restart function on Espruino? #5178
Replies: 1 comment
-
Posted at 2015-12-14 by MrTimcakes Perhaps read up on DeepSleep and have a watch toggle it and clear the OLED. Posted at 2015-12-14 by @gfwilliams You don't even have to toggle You can't turn Espruino off in software yet, but to be honest the difference in power consumption between being off and in deep sleep is quite small. Posted at 2015-12-14 by bigplik i don't want to use mechanical switch, oled and pico would be in the housing, I thought to use some piezzo switch to "make it work or sleep", so I can't simply turn off the pico Posted at 2015-12-14 by DrAzzy Usually, when working with a modern microcontroller, it doesn't turn off. When it's "off", it's in sleep with everything else turned off, set to wake on button press. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-12-13 by bigplik
hi, I wonder how to write some switch off/on function on my Espruino,
I use OLED ssd1306 and ADS1115 for low voltage readings and display them into OLED,
would like to switch off my Espruino for battery saving when I don't use it,
I know I can write some clear() function for OLED when I press button and send some low voltage for ADS vcc pin but maybe there is some simple solution?
is there any function I can use?
Beta Was this translation helpful? Give feedback.
All reactions