You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
199 B

#!/bin/bash
#one
#cat /dev/ttyUSB0 > /home/dev/arduswitch &
#two
#if cat /home/dev/arduswitch == User Pressed button 0
# then
# do something
# echo "" > /home/dev/arduswitch (to truncate)
# etc