|
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
|