Created
October 30, 2014 13:39
-
-
Save Arachnid/ef2abaf78e600b97aab0 to your computer and use it in GitHub Desktop.
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
CommsLink cl("My device", 12345); | |
int my_int; | |
void ioinit() { | |
cl.register(&my_int); | |
} | |
void loop() { | |
while(1) { | |
cl.runOnce(); | |
digitalWrite(2, my_int); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment