View Single Post
  #4   Spotlight this post!  
Unread 09-12-2006, 13:11
Donut Donut is online now
The Arizona Mentor
AKA: Andrew
FRC #2662 (RoboKrew)
Team Role: Engineer
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Goodyear, AZ
Posts: 1,292
Donut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond reputeDonut has a reputation beyond repute
Re: Question about programing the bumper sensors

Quote:
Originally Posted by itsme
In which loop did you mean to put the sensor input read? And by saying the sensor input read did you mean the function that I made: Get_Sensor_Data(Sensor_Port)?
It can be the function you made, or it can just be checking the value of the port directly, either is fine.

The loop I was referring to is Process_Data_From_Local_IO(), also known as the "fast loop", which can be edited in user_routines_fast.c I don't know if there is a way to edit it in EasyC.
__________________
FRC Team 498 (Peoria, AZ), Student: 2004 - 2007
FRC Team 498 (Peoria, AZ), Mentor: 2008 - 2011
FRC Team 167 (Iowa City, IA), Mentor: 2012 - 2014
FRC Team 2662 (Tolleson, AZ), Mentor: 2014 - Present