Sunday, August 10, 2008

sh serial





#/bin/bash
while true
do
read LINE < /dev/ttyUSB0
echo $LINE
done


or just:


tail -f /dev/ttyUSB0