Skip to content

Instantly share code, notes, and snippets.

@njh
Created January 15, 2012 19:11
Show Gist options
  • Select an option

  • Save njh/1616870 to your computer and use it in GitHub Desktop.

Select an option

Save njh/1616870 to your computer and use it in GitHub Desktop.
Hello World for Nanode
#define NANODE_LED_PIN 6
void setup() {
pinMode(NANODE_LED_PIN, OUTPUT);
Serial.begin(9600);
Serial.println("Hello World!");
}
void loop() {
digitalWrite(NANODE_LED_PIN, LOW);
delay(1000);
digitalWrite(NANODE_LED_PIN, HIGH);
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment