Skip to content

Instantly share code, notes, and snippets.

@kevinmehall
Created September 16, 2011 22:22
Show Gist options
  • Save kevinmehall/1223301 to your computer and use it in GitHub Desktop.
Save kevinmehall/1223301 to your computer and use it in GitHub Desktop.
USB Arduino demo
#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