I am trying to write to a servo regardless to its current position, to start with i tried the below code
void ServoSartup() // called only during startup
{
int degree = 1;
while ( degree > 50)
{
myServo.attach(servoPin);
myServo.write(degree);
degree++;
delay(230);
}
}
my idea is to bring the servo arm to a position upon startup regardless from where it current position is.