|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Library timers
For the MCC18 compiler, there is a library file that has timer funcitons in it. The file is timers.h, under the h directory of the compiler. I'm wondering if anyone can tell me how to use the functions that are in that file and/or point me to documentation that would tell me how. I'd like to use them to back up our encoders, so that we can have some sort of safty mechanism if one of them stops functioning.
Thanks in advance. ![]() |
|
#2
|
||||
|
||||
|
Re: Library timers
On Microchip's webpage for C18, there is an available PDF file named "C18 Libraries". In it, all of the Timers and their various functions are explained in very nice detail.
Hope this helps. |
|
#3
|
|||||
|
|||||
|
Re: Library timers
Quote:
http://www.innovationfirst.com/FIRST...ite_papers.htm and at Kevin Watson's site http://kevin.org/frc/ edu_clock.zip -- Example code that builds upon the code found in interrupts.zip to create a real-time clock that can be easilly modified to create sophisticated sequencers and state machines. Updated 12-22-03. edu_clock 2.zip -- Modified version of clock demo that extends the elapsed time output to include tenths of seconds. Updated 12-22-03. |
|
#4
|
||||
|
||||
|
Re: Library timers
Thanks guys, that will help.
Didn't know what to pass in to them, exactly. Couldn't tell from the prototypes. ![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The New and Improved FIRST CAD Library | Ed Sparks | General Forum | 22 | 03-02-2007 18:03 |
| How do you program timers? | roberthan | Programming | 5 | 04-02-2004 02:18 |
| math.h library | mightywombat | Programming | 24 | 17-01-2004 13:10 |
| Pneumatic Valves Posed in First Cad Library | Ed Sparks | Inventor | 0 | 19-01-2003 17:33 |
| Gear Box Parts Posted on First Cad Library | Ed Sparks | Inventor | 1 | 10-01-2003 01:54 |