Useful for in if then statements and for math applying to input from a pin.
Example:
if io(pi,0) = 1 then print "Pin high" else print "pin low"
Also the below will now work:
bla = io(pwi,0)
Functions can be called with out returning a value:
io(pwo,0,500)
Syntax is same as normal commands. Just in the form of a function.
http://esp8266basic.com
A BASIC interpreter for your ESP
Working now on Autodrop3d. A 3d printer with automatic part ejection system. https://autodrop3d.com