Änderungen

Aus Hackerspace Ffm
Wechseln zu: Navigation, Suche

Arduino IDE like serial monitor in the Raspberry Pi shell

11 Byte hinzugefügt, 20:07, 5. Apr. 2014
'''serial.sh'''
<pre>#!/bin/bash
stty -F /dev/ttyAMA0 cs8 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke noflsh -ixon -crtscts
sleep 1
tmux new-session -d './serial-in.sh'
tmux split-window -v './serial-out.sh'
tmux attach-session -d</pre>
'''serial-out.sh'''
610
Bearbeitungen