Advertisement
Guest User

Untitled

a guest
Nov 13th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. void setup() {
  2. // initialize digital pin LED_BUILTIN as an output.
  3. pinMode(LED_BUILTIN, OUTPUT);
  4. }
  5.  
  6. void loop() {
  7. digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
  8. delay(1000); // wait for a second
  9. digitalWrite(LED_BUILTIN, 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