PDA

View Full Version : Controller Timers


Guy_E
09-14-2006, 03:48 PM
Hi guys,

Im programming the VEX controller using MPLAB. I want to use the controller's timers to count seconds or miliseconds. I have looked through the internet and so far haven't found a single article or thread regarding how to use them.

Does anyone know how can I use the timers?

Thanks,
Guy

Mike Betts
09-14-2006, 04:35 PM
Hi guys,

Im programming the VEX controller using MPLAB. I want to use the controller's timers to count seconds or miliseconds. I have looked through the internet and so far haven't found a single article or thread regarding how to use them.

Does anyone know how can I use the timers?

Thanks,
Guy

Guy,

You should be able to find the info you need in the outlined in the Timers White Paper (http://www.ifirobotics.com/docs/timers_white_paper_2004-jan-14.pdf) on the IFI site. This paper was written for the FRC controller but is completely valid for the FVC controller (using MPLAB).

Good Luck,

Mike