Created
June 13, 2013 17:30
-
-
Save mrichardson23/5775607 to your computer and use it in GitHub Desktop.
Basic setup code for Arduino programming session
This file contains 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
#define BUTTON_PIN 2 | |
#define GREEN_LED 3 | |
#define YELLOW_LED 4 | |
#define RED_LED 5 | |
#define POTENTIOMETER 0 | |
void setup() { | |
pinMode(GREEN_LED, OUTPUT); | |
pinMode(YELLOW_LED, OUTPUT); | |
pinMode(RED_LED, OUTPUT); | |
pinMode(BUTTON_PIN, INPUT); | |
} | |
void loop() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment