Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

Arduino IDE like serial monitor in the Raspberry Pi shell

3 Byte hinzugefügt, 20:15, 5. Apr. 2014
/* Explanation */
to listen to the serial port.
Unfortunately there are some unwanted characters at the end of a line. I’m not sure why, but I just replaced them with a space. (That way they just do not any me anymore)
 
To get data to the Serial port I use:
<pre>echo "$a" > /dev/ttyAMA0</pre>
 
I use tmux split screen to be able to see both at the same time.
 
All of this is probably not a clean or nice solution, but it does what I wanted it to do.
610
Bearbeitungen