Created
November 11, 2013 12:37
-
-
Save jadudm/7412577 to your computer and use it in GitHub Desktop.
Craft of Electronics Tutorial: Turning an LED On http://craftofelectronics.org/
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
// Turning things on and off. | |
void setup () { | |
// First, tell the Arduino we want to make one | |
// of our pins an OUTPUT pin. | |
pinMode(13, OUTPUT); | |
} | |
void loop () { | |
// Tell the Arduino to turn on one of our pins. | |
digitalWrite(13, HIGH); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment