Last active
May 1, 2019 17:08
-
-
Save maximeadjigble/18c32c9773ecaf5ce51a08ca29858612 to your computer and use it in GitHub Desktop.
Arduino LED blink code
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
int ledPin = 12; | |
int delayTime = 2000; | |
void setup() { | |
pinMode(ledPin,OUTPUT); | |
} | |
void loop() { | |
digitalWrite(ledPin, HIGH); | |
delay(delayTime); | |
digitalWrite(ledPin, LOW); | |
delay(delayTime); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment