You are reading a single comment by @Robin and its replies.
Click here to read the full conversation.
-
the DOS pass command is where the problem lays. My echo inside the IDE is working fine. However I can not see anything from the Espruino with Command Prompt - i can only call the command (one way)
@Wilberforce, it frees up access to talk with other devices.
Thr 2019.06.27
Hello @Skog,
This would be normal, as the only way the Pico is able to communicate with the WebIDE is via the attached USB cable.
Not entirely sure what the intent is, but the function echo() has one parameter and takes an argument of T or F
A call to a function in Espruino will return 'undefined' (or the intended return value of that function) unless other content you provide in a wrapper function you create is set:
By chance is the intent to have something show up in the WebIDE after the LED is intentionally turned on?
This tutorial example should assist in laying out the code:
EDIT:
It just dawned on me, as there isn't a mode() function in Espruino, that an attempt to pass DOS command line instructions is being used. Again, please explain the intent. Some posted code would assist here also.