I would like to send commands over to my espruino via serial.
I think this is the way:
echo 'digitalWrite(LED1, 1) < /dev/tty.usbmodem1421
However, it doesn't do anything. My terminal shows me no feedback whatsoever, even if I press enter or ctrl+c.
Am I doing something wrong?
I have to do it over serial; I can't have my board connected with a prompt always on because I have this home automation project for my dorm and I would like to send serial commands wirelessly with bluetooth, and the espruino's going to be stuck somewhere on the wall.