Posted by Stephen at 2/10/2001 5:34 PM EST
Other on team #122, NASA Knights, from Grafton High School (Robotics team is at NHGS) and NASA.
In Reply to: Need help in creating program to use servo's to shift drive
Posted by Barry Horwitz on 2/9/2001 10:55 PM EST:
put this directly before you shift your gears
if p1_y 127 then NO_SHIFT:
if p1_x 127 then NO_SHIFT:
after that, you would put your conditional about the button being pressed, then your shift sequence; at the end of all the shifting put
NO_SHIFT:
Hope that helps, if not then e-mail me at
Steven3554@yahoo.com
P.S.
if you have a dead band, make sure that this goes AFTER the dead band.