Advertisement
spookybathtub

Untitled

Aug 7th, 2015
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.11 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. var=""
  4. var="$(printf "1\r" 2>&1 > /dev/cu.usbserial)"
  5. if [ "$var" != "" ]; then
  6.   echo "$var"
  7. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement