Created
September 16, 2011 22:22
-
-
Save kevinmehall/1223301 to your computer and use it in GitHub Desktop.
USB Arduino demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <UsbSimple.h> | |
void setup(){ | |
USB.begin(); | |
} | |
void loop(){ | |
USB.refresh(); | |
USB.set(0, analogRead(5)); | |
USB.set(1, analogRead(4)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment