@allObjects: Why ?
The sample from post #15 runs without errors and works like designed on 1v90.5
line 8. switches a single led at index=i%count on or off depending on e.state
on
off
e.state
@MaBe 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.
@allObjects: Why ?
The sample from post #15 runs without errors and works like designed on 1v90.5
line 8. switches a single led at index=i%count
on
oroff
depending one.state