Created
December 5, 2024 18:22
-
-
Save extrasleepy/9652f9ec95cfbc988eea316c40c29887 to your computer and use it in GitHub Desktop.
ATtiny_test.ino
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
| // the setup function runs once when you press reset or power the board | |
| void setup() { | |
| pinMode(0, OUTPUT); | |
| } | |
| // the loop function runs over and over again forever | |
| void loop() { | |
| digitalWrite(0, HIGH); // turn the LED on (HIGH is the voltage level) | |
| delay(100); // wait | |
| digitalWrite(0, LOW); // turn the LED off by making the voltage LOW | |
| delay(100); // wait | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment