Advertisement
Hodge-1053

Arduino: Simple LED Testing Sketch

Oct 29th, 2022 (edited)
871
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | Source Code | 0 0
  1. const int p = 13;
  2.  
  3. const int JamiesDelay = 1500;
  4.  
  5. void setup()
  6. {
  7.   pinMode(p,OUTPUT);
  8. }
  9.  
  10. void loop()
  11. {
  12.   digitalWrite(p,LOW);
  13.   delay(JamiesDelay);
  14.   digitalWrite(p,HIGH);
  15.   delay(JamiesDelay);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement