Skip to content

Instantly share code, notes, and snippets.

@cowdinosaur
Last active August 29, 2015 14:06
Show Gist options
  • Save cowdinosaur/40e4626fb38ea9a660b7 to your computer and use it in GitHub Desktop.
Save cowdinosaur/40e4626fb38ea9a660b7 to your computer and use it in GitHub Desktop.
Tinkerbot 3.1: Control an LED
int LED_PIN = 12;
// the setup routine runs once when you press reset:
void setup() {
pinMode(LED_PIN, OUTPUT);
digitalWrite(LED_PIN, HIGH);
delay(3000);
digitalWrite(LED_PIN, LOW);
}
// the loop routine runs over and over again forever:
void loop() {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment