Guest User

Untitled

a guest
Nov 1st, 2020
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. //Chiara, 2020, Fab Academy, week 11
  2. void setup()
  3. {
  4. pinMode(6, OUTPUT); //pin 6 as output
  5. }
  6.  
  7. void loop()
  8. {
  9. digitalWrite(6, HIGH); //turn pin 6 high
  10. delay(1000); //wait one second
  11. digitalWrite(6, LOW); //turn pin 6 low
  12. delay(1000); //wait one second
  13. }
  14.  
Advertisement
Add Comment
Please, Sign In to add comment