5 ms·
Also, I know it might be sacrilegious around here to suggest it, but it's also possible to program the ESP8266 with "javascript" [0] using Espruino [1]. It's w
by Klathmon 9y ago
Also, I know it might be sacrilegious around here to suggest it, but it's also possible to program the ESP8266 with "javascript" [0] using Espruino [1].
It's worked very well in my experience, even just as a fun experiment to say that I could.
[0] Javascript is in quotes because it's not a fully compliant javascript engine.
[1] https://www.espruino.com/ https://www.espruino.com/
- traverseda 9y agoMicropython also exists, and works pretty well across a variety of microcontrollers, this one included. The big thing it lost was good tracebacks, but it seems reasonably performant. There are also lua implementations that run on a variety of microcontrollers. Maybe give ~anything else~ one of those a try instead.
- Klathmon 9y agoI'm one of those insane people that actually likes Javascript, so I tend to actually flash espruino to my ESP8266 chips unless they need to be battery powered (where compiled is still the only way to get them to last long enough in most cases). But I did try out lua and quite enjoyed it (lua being another of my preferred languages), and never really felt the need to tryout micropython. How is performance with micropython? and how does it differ from "regular" python?
- Rebelgecko 9y agoMongoose OS also let's you use a stripped down version of Javascript. It has some other really nice features (OTAs out of the box, MQTT, Bluetooth GATT on ESP 32, etc). Unfortunately it's a bit restrictive if you want to use it commercially