hello kev, you can use the mclr switch as a sort of an interrupt that will not force a cold boot but it means you cant also use a low battery reset, i think. it requires setting some flags to detect the sleeping condition so that the mclr wakeup is processed correctly. this is a bit tricky to get to work. IIRC, the 12c508s go to the origin both after sleep and after an mclr event, so the parsing routine has to be there. alice > Hello all! > > Will a program end (until power is disconnected and re-applied ) > for example: > > call _200ms delay > bcf gpio,2 ;The program ends here, the next time the program should run > is when power (which may be applied for up to 20 hours) is disconnected and > re-applied > > (gpios, no wake up, no pullup) > > Should I put the pic into sleep after bcf gpio,2 ? or will the pic stop until > reset ? > should I fill any unused locations? if so how? > > Using picstart plus firmware1.5 > > " read the books, now I am learning" > > come back AC128'S and EL34'S > > Thanks in advance! > > Kev >