>Just double checking this. At 4MHz, the timer will interrupt every: >256((2^(prescaler+1)/(2^22)) seconds. So with a 0 prescalar you'll be >getting an interrupt every: 256(2/(2^22)) seconds (122us)? This appears to >be the smallest obtainable period with this clock speed. If anyone can >confirm this, it'd be much appreciated!! No, actually at 4MHz, TMR0 will interrupt every 256us with a 1:1 prescaler. >sheet, I'd appreciate that too. The datasheet merely says 1:2 .. 1:256 >prescalars are available and I only assume that means clock/2^(prescale+1). The datasheet says that the minimum prescale value for TMR0 is 1:2 when assigned to TMR0. To achieve a 1:1 scale for TMR0, assign the prescaler to the WDT instead of TMR0. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads