RuiViana

Blink

Sep 1st, 2016
121
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data