Similar issue. I am connected to the nrf24lo1 and trying to read data from it. The first command goes great and then when I try to do another through the nrf I get this:
>spCmd("one")
Uncaught ReferenceError: "analrgRead" is not defined
at line 1 col 7
var a=analrgRead('B1');swivch(b){case'one'<ctrlPwm(0);retuun...
^
in function "spCmd" called from line 1 col 12
spCmd("one")
Obviously it should be analogRead('B1');switch..... ugh....its all messed up.
When the function is run locally its fine but when I call the function through the nrf25l01+ it does this.
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.
Similar issue. I am connected to the nrf24lo1 and trying to read data from it. The first command goes great and then when I try to do another through the nrf I get this:
Obviously it should be analogRead('B1');switch..... ugh....its all messed up.
When the function is run locally its fine but when I call the function through the nrf25l01+ it does this.