| ??? 05/21/99 09:58 Read: times |
#442 - RE: Timer 0 interrupt |
Dieter Ziegler wrote: ------------------------------- steve, there are more problems: 1.) The reloadtime depends also on the controller you use: Dallas is faster then others... Not by default it isn't- it still runs at clock/12, but can run as fast as clock /4 2.) 82 (second timer) *4 = 328 328 / 8 (first timer) = 41 That means around every 41.th Time1-Routine you have also to serve the Time 2-Routine .... I have met this problem myself, but I got round it by using one timer to do both jobs. I incremented an internal counter in the ISR that did different things at different times. Works well provided you don't stop the clock in the ISR and that the service time is shorter than the time out ! Steve |
| Topic | Author | Date |
| Timer 0 interrupt | 01/01/70 00:00 | |
| RE: Timer 0 interrupt | 01/01/70 00:00 | |
| RE: Timer 0 interrupt | 01/01/70 00:00 | |
| RE: Timer 0 interrupt | 01/01/70 00:00 | |
RE: Timer 0 interrupt | 01/01/70 00:00 |



