Hi: I have a 16F54 that's being used to divide a precision 10 MHz frequency source down to a precision 1 PPS output by using the 10 MHz as the PIC clock and managing the number of instructions executed. http://www.leapsecond.com/tools/PPSDIV.ASM If the DC is applied then the clock input connected it works the way the code would suggest. But if the clock is connected before the DC power is applied strange things happen (LEDs not in the states the code would suggest). Then manually grounding MCLR gets things back to normal, but I don't want to add a START switch if there's a way around the phantom power problem. Is there a way to programmatically determine if phantom power has caused problems? Thanks, Brooke Clarke -- w/Java http://www.PRC68.com w/o Java http://www.pacificsites.com/~brooke/PRC68COM.shtml http://www.precisionclock.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist