nice one morgan! so cunning you could stick a tail on it and call it a fox. what do you think of the small changes below to remove sensitivity to the polarity of RA4 ? it's added 3 more instructions and juggled it around a little bit, but should make it more fire & forget. this code it _not_tested_ by the way, so beware. Regards, Simon ;********************************* FAST RESET ********************************* ;Design Morgan Olsson, morgans.rt@telia.com fast_reset: clrwdt ;without this line the reset fails peridically -with the ;wdog freqency- probably depending on Wdog OSC output phase. ;-some undocumented connection. fast_reset2: bcf STATUS,RP0 ;Bank 0 ;-Prepare clrf INTCON ;disable interrupts ;-Setup registers mowlw (1<