what is the script to make a button on channel 0, make a servo on channel 1 move all the way to one side then return to the middle?
this should to the trick.
begin
0 get_position 500 less_than if movement endif
repeat
sub movement
8000 1 servo #8000 is the maximum value it goes to, change it to your needs
500 delay
5000 1 servo #5000 is the middle value, change it to your needs
500 delay
return
ok how would i code it if i want one switch to contol the servo’s left movment and another switch to control the servos right movment?