|
Tracking Elapsed Time
Our team is getting better at programming using MPLAB and I had a question:
1. What is the best way to track elapsed time?
For example, the the main loop running on the RC is fast enough to loop (3) times each time the IR board receives an input then sends out a pulse. We would like to create a timer and ignore any other pulses from the IR board for a 500ms window to prevent processing the same signal (3) times.
I wasn't sure if the RC had an internal clock which could be read and stored into a variable.
Good Luck!
TEAM #1711
Traverse City, MI
|