I'm stuck on this one... I'm trying to use the command line to send serial data to the arduino and can't get it to work. I have a sketch that will take a number from serial and make an LED blink the number of the serial communication, and I can't seem to get the integer to the arduino. I've tried the C and python scripts I found as well as SerialPort X and nothing will communicate. Would some kind person be willing to walk me through this?
To give a little more detail, the command: echo "9" > /dev/tty.usbserial-A800ewFw works perfectly in terminal as long as the arduino software is running and the serial communication window is open. When the arduino software is closed, I send the command via terminal and the light flickers, then the terminal hangs and I have to control+c.