Hi - please can you try again now?
The <- Serial1 error is because the Puck is saying that it's changed the REPL from being on Serial to being on Bluetooth when it's first connected, and that's unfortunately getting read in as the result to the eval, rather than the actual value.
I just tweaked it so that the code writes something first to connect, then evals 0.5 sec later - that should fix it I hope.
I think going forward I should probably make the Puck.js lib wait automatically if the first command used is eval
Yes, that seems to fix it. Works every time now. Many thanks!
© Espruino, powered by microcosm.
Report a problem