@allObjects thanks. nice project! Got it working, beginners error :-) I usually type pieces of code in the left side of WEB IDE for syntax errors, only this does not work for require() and external modules. Once I put it on the right side and uploaded it, it worked, not so hot here 22C (Netherlands). Now adding a PIR and LDR and MOSFET, to make it a smart sensor and dim my LED lights.
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.
@allObjects thanks. nice project! Got it working, beginners error :-) I usually type pieces of code in the left side of WEB IDE for syntax errors, only this does not work for require() and external modules. Once I put it on the right side and uploaded it, it worked, not so hot here 22C (Netherlands). Now adding a PIR and LDR and MOSFET, to make it a smart sensor and dim my LED lights.