The module itself doesn't work well for receive as-is because the Web IDE doesn't compile code, but if you take the module code for rx and put it in the Web IDE, then uncomment "compiled", it works pretty well.
The only gotcha (and there's no way to really test this at the moment short of running EspruinoCompiler yourself and checking the output) is that when Espruino has to deal with floats or variables it doesn't know the type of it's much slower, so you need to get it to work with ints whenever possible.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
No, it works much better now. It even works with
bind
, which is pretty handy for even more speed.I actually added some code up yesterday for a workshop I did: http://www.espruino.com/433Mhz
The module itself doesn't work well for receive as-is because the Web IDE doesn't compile code, but if you take the module code for rx and put it in the Web IDE, then uncomment
"compiled"
, it works pretty well.The only gotcha (and there's no way to really test this at the moment short of running EspruinoCompiler yourself and checking the output) is that when Espruino has to deal with floats or variables it doesn't know the type of it's much slower, so you need to get it to work with ints whenever possible.