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.

Team2844,This shouldn't be too difficult, however I am having a little trouble understanding your control scheme. You state that you'd like btn 6 to move the servos to 90 degrees out and that when you let go of btn 8, that the servos also go to 90 degrees out. Then at the end you state that you'd like btn 6 to be able to set the servos back to their original position.

Is that 'first starting position' the 90 degrees out or is is there another position you had in mind which was not described? Would you want btn 6 to move the servos to both the initial starting position and the 90 degree out position?

Regards,l0jec

Mon Mar 12, 2012 1:11 pm

Team2844

Novice

Joined: Mon Oct 18, 2010 9:31 pmPosts: 88

Re: Servo Help.

Hey, sorry. Alright.

AlignL9 and AlignR10 will start out at 01) I want to press button 6 to move them out 90 degrees and stay there when I let go of the button.2) I want to press button 8 then after(with them at the 90 degrees already from step 1, and go in 10 degrees when I hold the button down, and when I let go, it goes back to the 90 degrees in step 1.3) When Im done, I hit button 6 again, and it goes back to 0.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum