Alright, Im back again. We are headed to world once again, and have changed the robot up a bit, meaning new code is in need.
What I want to do.
Here is the servos I need to work with:
Now, I want to see if there is a way to make it, so that I can press a button, say 6, and I want AlignL9 and AlignR10 to go to a set postition (90 degrees out) and stay there without my finger on the button. BUT, I want to be able to have a button, say 8, that then allows AlignL9 and AlignR10 to go in a few degrees in when holding the button, and go back to the postion of the 90 degrees out, when I let go. Then when Im done, I can hit button 6 again, and it will go in to its first starting postition.
Is there any way to do that? The reasoning behind it, is that I dont want the servos out all the way while im driving around, to be broken off by defence of another robot.
Hope that made sence. Thanks.
I know I can do this type thing....: