Created
January 9, 2012 10:41
-
-
Save rngtng/1582447 to your computer and use it in GitHub Desktop.
Simple Arduino NabaztagInjector example sketch
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
/** | |
* Simple Arduino NabaztagInjector example sketch | |
**/ | |
#include <Nabaztag.h> | |
void setup() { | |
Nabaztag.begin(0); //0 = standalone | |
} | |
void loop() { | |
// send 1337 to the rabbit | |
Nabaztag.inject(1337); | |
//done | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment