help needed,this code below is for one servo ,suppose if i have 5 servo how do i change the void loop?
Serial.begin(9600);
servo1.attach(6);
}
//LOOP--------------------------------
void loop() {
if( Serial.available() )
{
int x = Serial.read();
servo1.write(x);
}
}