Hi Tony: I don't know how to dissable the LVP but if I do I am concerned that my WIS= P628 in circuit programmer will not be able to progam the chip anymore on= ce I dissable the LVP. I think for the 16f876 the programmer is not using= the LVP but is using the MCLR# but not sure this is all still new to me= . I disconnected the wire from my programmer that was connected to the RB= 3 pin and it still programs just fine with or without the 10K to ground b= ut I did find a note on the wisp628 web site about putting this resistor = in. So maybe it is safe to dissable the LVP bit. I think the 16f876 is self pro= tecting if I read the specification correctly P134 of the data sheet. It = looks like the only way to change the LVP bit is to do so in the HVP mode= therefore the wisp628 (my in circuit programmer) must be programming in = this HVP mode. Can someone please help me understand how to set the LVP bit I can see from= the datasheet that its bit 7 of the "configuration word address 2007h". Thanks again -----Original Message----- From: Tony Nixon To: PICLIST@MITVMA.MIT.EDU Date: Wed, 10 Mar 2004 10:20:37 +1100 Subject: Re: [PIC:] Newbie trying to assemble using MPASM for 16f876 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 ze= ro 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. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.