Something like that should work, but you do have a missing end quote in that code and the wrong arrow...
I just tried:
echo "LED1.reset()" > /dev/ttyACM0
and that works great on Linux (and should do on mac if you change the /dev/tty... path.
/dev/tty...
This might help you? https://www.espruino.com/Interfacing
@Gordon started
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.
Something like that should work, but you do have a missing end quote in that code and the wrong arrow...
I just tried:
and that works great on Linux (and should do on mac if you change the
/dev/tty...
path.This might help you? https://www.espruino.com/Interfacing