As your error is double, it's likely a problem with the 2:1 prescaler. Perhaps your setting of T0CON is being overwritten in one of the include files.
Or your clock is running at 16Mhz.
George
As your error is double, it's likely a problem with the 2:1 prescaler. Perhaps your setting of T0CON is being overwritten in one of the include files.
Or your clock is running at 16Mhz.
George
Last edited by towlerg; - 30th June 2015 at 03:50. Reason: old and stupid
Bookmarks