DatTruong/Howard/code


 * 1) include 

Servo myservo;

int pos = 0;

void setup { myservo.attach(9); }

void loop { if(pos <= 30) {   for(pos = 0; pos < 40; pos += 5) {	myservo.write(pos); delay(1000); } }  else {   int pos = 31; } }