Created
December 7, 2015 01:34
-
-
Save christophervigliotti/ff27ceb3e930c0f24bd6 to your computer and use it in GitHub Desktop.
An Obnoxious Blinky LED Sketch
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
// rando-blink ala https://www.arduino.cc/en/Tutorial/Blink | |
void setup() { | |
// initialize digital pin 13 as an output. | |
pinMode(13, OUTPUT); | |
} | |
// the loop function runs over and over again forever | |
void loop() { | |
digitalWrite(13, HIGH); | |
delay(random(50, 100)); | |
digitalWrite(13, LOW); | |
delay(random(50, 100)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment