2003-09-29 08:33 PM
Timer - from 75ms delay to 5s delay
2003-09-29 08:33 PM
The st10 works on 16M oscillator
At first, I use RTC: RTCPL = 0x00ff; That's RTCL will increase 1 after 64 * 256 *1 / 16M = 1ms; But when it comes to hardware, the timer is wrong. The 5 second delay becomes nearly 16 seconds. I don't know why. We have several timers, from 50ms, 75ms to 5s. Shall I have to use the capcom and rtc both? If there's someone could give me a hand u advice would be appreciated.