Refactored this a bit and it works nicely. Now going to move my efforts to GitHub:
https://github.com/thomascannon/espruino-lightwaverf/
A humble start, but something to build from. Given it is using JS it would be nice to make it object oriented so we could do:
rooms.list; =["Study","Bedroom"] rooms("Study").allOff; rooms("Bedroom").on("Lamp");
You get the idea anyway.
@thomc 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.
Refactored this a bit and it works nicely. Now going to move my efforts to GitHub:
https://github.com/thomascannon/espruino-lightwaverf/
A humble start, but something to build from. Given it is using JS it would be nice to make it object oriented so we could do:
You get the idea anyway.