Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- var=""
- var="$(printf "1\r" 2>&1 > /dev/cu.usbserial)"
- if [ "$var" != "" ]; then
- echo "$var"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement