Jinx wrote: >> that timer 1 /increments/ and that the timer flag gets set when it rolls >> over from 0x0000 to 0xffff. At least that's what my (possibly failing >> :) memory tells me. > > A decrementing counter would pass through 0 to FFFF. An incrementing > counter, which I'm sure all PIC timers are, unless I missed something in > the thread (not all of which I've read yet), sets an IF when it > increments from FF or FFFF to 0 Crap... :) That's what I meant, of course. Thanks for the correction. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist