Last active
April 30, 2025 19:36
-
-
Save msraynsford/525943be0e1547850c545960a04a8427 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
void setup() { | |
pinMode(2, OUTPUT); // Initialise the LED pin as an output | |
} | |
void loop() { | |
digitalWrite(2, LOW); // Turn the LED on | |
delay(1000); // Wait for a second | |
digitalWrite(2, HIGH); // Turn the LED off | |
delay(1000); // Wait for a second | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment