![]() |
Timer questions
I've been asked to find this out by our programmers. Is Timer1 setup with an internal oscillator? What's the frequency? Is an external oscillator necessary or legal?
Can you take over Timer0 if your aren't using PWMs 13 through 16? It's in last year's documentation, but we didn't see it in this year's. Thanks in advance. |
Re: Timer questions
Quote:
I didn't even know there was a Timer 0! :o |
Re: Timer questions
Quote:
Using Timer0 holds for this year as well. You need to use FRC_alltimers.lib rather than FRC_library.lib in your project just like last year. |
Re: Timer questions
There are actually 0-4 timers and 0 is not being used for the ccp modules. Kevin Watson's ADC code uses timer 2.
And toword the end of this thread(http://www.chiefdelphi.com/forums/sh...ad.php?t=43358) I have explained that the processor runs at 10MHz hence the 10 MIPS but the external oscillator runs at 40 MHz.(if you want to understand the hardware little bit better) You can use all the timers using Kevin Watson's interrupts code. |
| All times are GMT -5. The time now is 01:34. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi