first try of server-programm with serial port
[openPager.git] / c-prog / shell.sh
blob0814af7d2be7b9bb8df6f959b54137e0c66cf20a
1 #!/bin/sh
2 while true
3 do
4 read Line </dev/ttyUSB0
5 echo $Line
6 if [ "$Line" = "Beacon" ]
7 then echo Text\n > /dev/ttyUSB0
8 fi
9 done