Thanks - those reed switches are a good idea! With setDeepSleep(1) that would run off a battery for years.
setDeepSleep(1)
I guess you could do something like turning on a light if you open the door and it's dark...
For sound, Espruino's now got the Waveform output so you could have some kind of recorded sound played if you wanted too :)
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Thanks - those reed switches are a good idea! With
setDeepSleep(1)
that would run off a battery for years.I guess you could do something like turning on a light if you open the door and it's dark...
For sound, Espruino's now got the Waveform output so you could have some kind of recorded sound played if you wanted too :)