RSS

Tag Archives: balls

BallsMcBalls

BallsMcBalls Video

 


/*

Owen’s first program.
Balls

*/

int balls=12;
int catsballs=11;
int dogballs=13 ;

void setup (){
pinMode (balls, OUTPUT);
pinMode (catsballs,OUTPUT);
pinMode (dogballs, OUTPUT);
}

void loop(){
digitalWrite(catsballs, HIGH);
delay(122);
digitalWrite(catsballs, LOW);
delay(122);
digitalWrite(balls, HIGH);
delay(122);
digitalWrite(balls,LOW);
delay(122);
digitalWrite(dogballs, HIGH);
delay(122);
digitalWrite(dogballs, LOW);
delay(122);
}

 
Leave a comment

Posted by on October 17, 2012 in hard work, In the Computer

 

Tags: ,