Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- stty raw -echo < /dev/ttyUSB0;
- cat -vte /dev/ttyUSB0|while read line;
- do
- if [[ "$line" == *"9516AE"* ]];
- then
- echo "You clicked 3";
- fi;
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement