Fredrik Axtelius wrote: > > We have a winner!! > Thanks alot, RB3->GND solved everything, it now runs just great!! > Can someone explain why? > > To Tony Nixon: I tried all the thing you suggested and was just about to send you the $10. Now that Michaels tip worked do I still need to send you the money, if yes then I need your address :) One of the things I mentioned was to check that LVP was disabled. You will also notice this in the __CONFIG directive in the code I posted. Grounding the LVP input suggests that you left LVP = ON. When LVP mode is active and LVP is high or floating, the chip tries to enter low voltage programing mode. See the link below for credit card transactions. Just kidding :-) Glad it's working -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.