Andrew wrote: > My problem is that the chip doesn't always seem to start - it's > programmed to give a short burst on the piezo at boot. The thing that > makes it start when it doesn't want to is me placing my finger above > the chip (sometimes I need to actually touch the plastic case of the > PIC). First suspect is that you have the MCLR pin enabled for the MCLR function and it's not tied anywhere. If you are using it in the MCLR role, tie it to Vdd via 20K ohms or so. Second suspect is that LVP is enabled and the PGM pin is floating. Either disable LVP or make sure PGM is tied low. What is the oscillator mode? It's a good idea to start with internal RC until you know the rest of the circuit is working. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist