Advertisement
strel0k

for Loop Demonstration

Jan 10th, 2012
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. //original source: http://bit.ly/zUKW7h
  2.  
  3. void setup(){
  4.   pinMode(9, OUTPUT);
  5. }
  6.  
  7. void loop(){
  8.   for (int x = 1; x <= 5;  x++){
  9.     digitalWrite(9, HIGH);
  10.     delay(1000);
  11.     digitalWrite(9, LOW);
  12.     delay(1000);
  13.     }
  14.   delay(10000);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement