Interrupt Driven Timer/Scheduler -- ISR mechanism

Submitted by Ed_B on Fri, 05/21/2010 - 16:56

Printer-friendly versionPrinter-friendly version

The proposed timer/scheduler for fairly accurate, low speed timing of function calls is based on the Wire I2C library for the Arduino. I've borrowed the entire structure of the library, including naming conventions. The parallels between my proposal and the Wire library callback structure are pretty clear by comparing this diagram to the Wire diagram posted earlier.

( Read More =>)

The proposed method would use four files: TimerCounter.cpp, TimerCounter.h, clock.c, and clock.h.