#define TICKS_PER_SECOND ((GetPeripheralClock()+128ull)/256ull) // Internal core clock drives timer with 1:256 prescaler
Internal core clock drives timer with 1:256 prescaler #define TICKS_PER_SECOND (32768ul) // 32kHz crystal drives timer with no scalar
Submit feedback about this site to: