You are reading a single comment by @CriscoCrusader and its replies. Click here to read the full conversation.
  • This is tough, and frustrating. I can see that connection is defined after calling Espruino.Core.Serial.open(), but it seems that eval() is running writeSerial() in a scope where connection is undefined. And this is being triggered by the queryBoardProcess which was added as a processor function for the 'connected' event.

    Why does this project need to use eval?

    @Joakim, I am using the espruino npm module directly to send my code. That's what this does: https://github.com/stokebrain/morra-esprĀ­uino1/blob/master/build.js

    I want to enter the terminal after the code is loaded so I can receive the log output from the device as it's running.

About