-
-
Save fvdbosch/e1f30d2e0d06eca6c5a0838be9e97f29 to your computer and use it in GitHub Desktop.
Blink Raspberry Pi Status LED using Particle
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
// Blink Raspberry Pi's status LED | |
const int status_led = D7; | |
void setup() { | |
pinMode(status_led, OUTPUT); | |
digitalWrite(status_led, LOW); | |
} | |
void loop() { | |
digitalWrite(status_led, HIGH); | |
delay(500); | |
digitalWrite(status_led, LOW); | |
delay(500); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment