Rob Zitka wrote: > > Hi, > > I am having a problem with a protoype build of a PIC circuit. I have Port I'd disconnect everything except the LED's and just run the code that blinks them. If this fails delete more code and test again. If you do this until there is no more code left and it still doesn't run (sorry), you may have connected something up wrong. Have you got floating inputs on the unused pins? Can the battery supply enough current to run the circuit AND relays. Are your pin IO directions set correctly? Did you set the correct oscillator fuse? Does your code jump to a non existant program address? The list can go on forever. Try starting with smaller code fragments and circuit blocks, then build it up in stages. It will be easier to fault find. -- Best regards Tony Multimedia 16F84 Beginners PIC Tools. **New PicNPrac** http://www.picnpoke.com Email picnpoke@cdi.com.au