Richard S wrote: >All LED's work except the one on port RB3 ( this is pin24 and is a shared funtion with PGM). It is counting all the way up. Only way to reset to zero is reflash POR does not reset to zero. > > > If you have LVP mode enabled, then pull this pin low with a 10K resistor or similar. Otherwise disable LVP in the FUSES and you can use it as a standard port pin. regards Tony -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.