3 ms·
Esp8266 also runs Lua, which provides first-class co-operative co-routines and is a really nice way to do cooperative multi-tasking. I've been playing with a E
by julian_1 11y ago
Esp8266 also runs Lua, which provides first-class co-operative co-routines and is a really nice way to do cooperative multi-tasking.
I've been playing with a Esp8266 NodeMCU configuration where one co-rountine monitors and maintains the wired-access connection, another CR blinks the activity led on a timer, and another presents a telnet-like command interface listening on a tcp/ip socket.
The entire OS layer has been avoided, yet there is almost no loss of functionality.