Thread: encoder.c
View Single Post
  #3   Spotlight this post!  
Unread 14-01-2005, 13:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: encoder.c

Quote:
Originally Posted by Gary Bonner
When (and where) is rc_dig_in06 updated so that it has the current value when it is looked up in Left_Encoder_Int_Handler()?
rc_dig_in06 is always updated. Consider it a direct connection to the seventh digital input on the RC.
Quote:
Originally Posted by Gary Bonner
What variables are updated in Process_Data_From_Master_uP() in main.c every 26ms?
Anything that comes from the OI. That's mostly the joystick/switch inputs and the competition mode bits, plus things like user_display_mode which is changed by pressing the little button under the display on the OI.