thatoneguy
- Joined Feb 19, 2009
- 6,359
Just use the for loop to slowly change the servo position, with the delay inside the for loop, it will rotate slower.
If you "unroll" the for loop block, the controller is sending these commands, the for loop simply saves you a ton of typing and code space.
Rich (BB code):
for b12 = 75 to 150 step 5
servopos 1,b12
pause servo_delay
next b12
Rich (BB code):
servopos 75
pause servo_delay
servopos 80
pause servo_delay
...
servopos 150
pause servo_delay