Last active
April 15, 2017 00:51
-
-
Save giljr/36cc2261eaa052cba83fc98c77502673 to your computer and use it in GitHub Desktop.
Here https://goo.gl/mh6TgX, I summarized everything for you in 10 steps and less than 10 minutes away...
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() { | |
// initialize digital ATtiny pin 0 as an output. | |
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 for a 100 ms | |
digitalWrite(0, LOW); // turn the LED off by making the voltage LOW | |
delay(100); // wait for a 100 ms | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment