Hi @camperos. This is interesting, fun, and possibly useful. I’ve loaded it into an ESP8266 (Node MCU 0.9 (ESP-12 Module)). It’s using P5.js from the internet but in my utility projects I’ve always wanted them to be fully functional without the internet. Maybe the whole project uses the internet, then it doesn’t matter. I know the ESP has a filing system and it’s on my todo list to find how to use it. Maybe the .html, p5.js etc can go there.
With your code I saw the two values static for a few seconds, and then update several times rapidly. I put a 2 sec delay at the end of loop, now I have an update every 2 sec. I’ve never used ‘events.send’ before, haven’t yet Googled and understood what they do.
Thanks for posting.