Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

Arduino IDE like serial monitor in the Raspberry Pi shell

81 Byte hinzugefügt, 20:14, 5. Apr. 2014
Reboot the system.
Source:[https://github.com/watterott/RPi-ShieldBridge/blob/master/docu/Arduino.mdgithub.com/watterott/RPi-ShieldBridge]
Then I run the serial.sh script (you need all three for this to work)
== Explanation==
<pre>stty -F /dev/ttyAMA0 cs8 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts</pre>
'''Source:'''[http://playground.arduino.cc/Interfacing/LinuxTTY playground.arduino.cc/Interfacing/LinuxTTY]
This one i basicaly copy and pasted it, without understanding it. It gets the serial interface in the right mode to talk to an Arduino (with 115200 baud)
610
Bearbeitungen