Hi,
Going into a servo sweep loop and at the same time having
another digital output active shifting with a certain timing (i.e. LED blink)
This LED blink will be interrupted during the servo sweep loop and start blinking again after the servo movement.
Can I find a way to keep other activities running during a servo sweep?
I use this kind of servo sweep loop.
for(pos = 45; pos < 90; pos += 1)
{
myservo.write(pos);
delay(40);
}
else