Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Arduino/Genuino MKR1000 - LED Blink
/*
LED Blink
Turns on an LED on for one second, then off for one second, repeatedly.
*/
// internal led connected on pin 6 on the MKR1000
int PIN_LED = 6;
void setup() {
pinMode(PIN_LED, OUTPUT);
}
void loop() {
digitalWrite(PIN_LED, HIGH);
delay(1000);
digitalWrite(PIN_LED, LOW);
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment