Accessing tick counter - Programming - Arduino Forum
In the Arduino library I see wiring. c with the ISR for updating the timer0 overflow counter. In the same file I see the variable I am interested in defined as: volatile unsigned long timer0_overflow_count = 0; (Note that it is not static. ) I know this symbol is available in the library because if I duplicate this definition in my code I get the error: mnttmpcodebender_object_files__var . . .
more
|