Created
June 27, 2018 02:28
-
-
Save giljr/fd3e82a49842783b993dcf6e3365b11a to your computer and use it in GitHub Desktop.
NewLED.ino https://www.apress.com/br/book/9781430238829 page 250
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
#include <LED.h> | |
LED led(13); // assign digital pin 13 to an LED | |
void setup() { | |
} | |
void loop() { | |
led.on(); | |
delay(1000); | |
led.off(); | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment