#include #include #define outp(a, b) b = a /*contains total ticks */ unsigned long ticks = 0; /* interrupt handler */ ISR(SIG_OVERFLOW0) { ticks++; } int main (void) { /*enable timer overflow interrupt*/ outp((1<