I'm starting to develop a Node-Red [NR] node for use with the Espruino
Even with echo(0); as the last command in my JS I'm getting some Echo back from the interpreter. I'm wondering what I might be doing wrong as this isn't the behavior of the IDE?
In attached image 1. I'm calling a Espruino function from NR be sending "getAna(0);\n" The interpreter echos the function name, followed by the JSON I want back plus return val and Cursor > 2. Espruino calls a function is every min which prints the JSON I want again followed by the Cursor >.
I still want \n back from the interpreter but not function name called or cursor symbol.
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.
I'm starting to develop a Node-Red [NR] node for use with the Espruino
Even with echo(0); as the last command in my JS I'm getting some Echo back from the interpreter. I'm wondering what I might be doing wrong as this isn't the behavior of the IDE?
In attached image 1. I'm calling a Espruino function from NR be sending "getAna(0);\n" The interpreter echos the function name, followed by the JSON I want back plus return val and Cursor > 2. Espruino calls a function is every min which prints the JSON I want again followed by the Cursor >.
I still want \n back from the interpreter but not function name called or cursor symbol.
Lawrence
1 Attachment