bits/prescaler value 0b00 1 0b01 8 0b10 64 0b11 256 Is there a formula that would fit the data above? Looks like there should be, but I'm using a switch for now... Vitaliy -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist