Advertisement
RuiViana

Blink

Sep 1st, 2016
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. void setup()
  2. {
  3. pinMode(13, OUTPUT);
  4. }
  5. void loop()
  6. {
  7. digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
  8. delay(1000); // wait for a second
  9. digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
  10. delay(1000); // wait for a second
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement