Skip to content

Instantly share code, notes, and snippets.

@smpaine
Created November 3, 2012 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smpaine/4009063 to your computer and use it in GitHub Desktop.
Save smpaine/4009063 to your computer and use it in GitHub Desktop.
#!/bin/bash
# test script to show arduino light control code usage
# can execute this (on OS X, assuming named test.sh and is chmoded to be runnable - chmod 755) via:
# ./test.sh | sudo cu -l /dev/cu.usbserial-A900cecL -s 115200
while [ 1 ]; do
echo "49572,1261,255"
sleep 1
echo "49572,45326,255"
sleep 1
echo "49572,25831,255"
sleep 1
echo "49572,40464,255"
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment