Created
December 12, 2014 10:43
-
-
Save andreareginato/4f70d0495eee43e62f60 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
/* arduino setup */ | |
void setup() { | |
Serial.begin(9600); | |
delay(500); | |
Serial.println("Start initialization of Yun..."); | |
Bridge.begin(); | |
Serial.println("Starting connection to lelylan..."); | |
lelylanConnection(); // MQTT server connection | |
pinMode(inPin, INPUT); // button pin setup | |
pinMode(outPin, OUTPUT); // led pin setup | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment