Open paidforby opened 7 years ago
Use proper tail calls maybe. https://www.lua.org/pil/6.3.html Pretty cool, but really just fancy gotos?
Got simple state machine working on ESP8266 from that first example. https://github.com/gcgallo/disaster-states/blob/master/init.lua
here's an example https://gist.github.com/dinodeck/5fd84bdff8670964c599