Advertisement
uaa

_eman_8.cpp output from Blink.ino

uaa
Mar 16th, 2014
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. #line 1 "sketch_mar15b.ino"
  2. /*
  3. Blink
  4. Turns on an LED on for one second, then off for one second, repeatedly.
  5.  
  6. This example code is in the public domain.
  7. */
  8.  
  9. // Pin 13 has an LED connected on most Arduino boards.
  10. // give it a name:
  11. #include "Arduino.h"
  12. void setup();
  13. void loop();
  14. #line 10
  15. int led = 13;
  16.  
  17. // the setup routine runs once when you press reset:
  18. void setup() {
  19. // initialize the digital pin as an output.
  20. pinMode(led, OUTPUT);
  21. }
  22.  
  23. // the loop routine runs over and over again forever:
  24. void loop() {
  25. digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
  26. delay(1000); // wait for a second
  27. digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
  28. delay(1000); // wait for a second
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement