??? 02/04/09 15:25 Read: times |
#162055 - Incorrect ISR - 21 ticks/second Responding to: ???'s previous message |
3*21 seconds is 63 seconds.
Your ISR performs 20 interrupts where it increments subsecond. Then one interrupt where it steps a second. So it takes 21 interrupts for one second. But 21*60*50ms is 63 seconds. |
Topic | Author | Date |
Software Clock is 3 Sec Slow per minute | 01/01/70 00:00 | |
How long does your ISR take? | 01/01/70 00:00 | |
Software clock is 3 sec slow | 01/01/70 00:00 | |
Don't assume - calculate! | 01/01/70 00:00 | |
You should use an auto-reload timer | 01/01/70 00:00 | |
Incorrect ISR - 21 ticks/second | 01/01/70 00:00 | |
Thank you ! Problem Solved | 01/01/70 00:00 | |
Solved? Check closely![]() | 01/01/70 00:00 |