Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup () {
- // Initialize the digital pin as an output.
- // Pin 13 has an LED connected on most Arduino boards:
- pinMode (8, OUTPUT);
- }
- void loop () {
- digitalWrite (8, HIGH); // set the LED on
- delay (2000); // wait for a second
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement