Ok, if the typical ISR call takes 80us and it is being called every 63us, then that is probably a lot more than 1 out of 16 interrupts getting dropped.
The non critical stuff can go in the main loop (not in an interrupt) and figure out when to run based on a "system clock", and the critical stuff can be updated in the interrupt. Dont forget about volatile on globals updated in interrupts.
__________________
WINDMILLS DO NOT WORK THAT WAY!!!
|