Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen gezeigt.

serialdisplay [2014/11/03 23:23]
Claus Kühnel
serialdisplay [2014/11/04 19:32] (aktuell)
Claus Kühnel
Zeile 79: Zeile 79:
 DISPLAY=/dev/ttyUSB1  # MicroView connected via RS232-to-USB to ttyUSB1  DISPLAY=/dev/ttyUSB1  # MicroView connected via RS232-to-USB to ttyUSB1
   
-stty -F $DISPLAY 9600 # MicroView initialization in SeriaDisplay.ino +stty $DISPLAY 9600 # MicroView initialization in SeriaDisplay.ino
   
 # USB-WDE1-2 connected?  # USB-WDE1-2 connected?
 if [ "$(ls $DEVICE)" ]; then  if [ "$(ls $DEVICE)" ]; then
-    stty -F $DEVICE 9600 +    stty $DEVICE 9600 -brkint -opost -onlcr -echo
     echo -n "INIT" > /dev/ttyUSB0      echo -n "INIT" > /dev/ttyUSB0
     sleep 2      sleep 2
Zeile 105: Zeile 105:
 else  else
     echo "No USB-WDE1-2 connected"      echo "No USB-WDE1-2 connected"
-fi  +fi</file>
-</file>+
 
serialdisplay.txt · Zuletzt geändert: 2014/11/04 19:32 von Claus Kühnel
 
Falls nicht anders bezeichnet, ist der Inhalt dieses Wikis unter der folgenden Lizenz veröffentlicht:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki