View Single Post
  #6   Spotlight this post!  
Unread 17-02-2008, 15:41
theprogrammer theprogrammer is offline
Registered User
FRC #1982
 
Join Date: Feb 2008
Location: Shawnee
Posts: 4
theprogrammer is an unknown quantity at this point
Re: IR button coding rules

actually, pwm03 is set to 167 as default because the associated motor doesnt have enough torque to keep our arm in place at neutral so setting it to 127 moves the arm downwards. As for the dig_ins for the IR, we're using 5-8 not 8-11. Also the counters have been changed to Get_Encoder_1-3_Counts which is currently giving us trouble. the dig_ins 9 and 10 arent IR but regular switches mounted inside our claw to tell wether or not its currently gripping a ball.

We are encountering a new problem regarding gear counters, we're using kevins encoder code, it compiles fine but when we try and use code involving the GTS's, we get the red light of doom in programming state meaning there is probably a paradox somewhere that i can't find.