NEVERMIND what i said. I figured out what was wrong. MCLRE does not provide a software pullup resistor and when it was that pins turn to be an IOC it would automatically toggle the LED. after putting a pullup resistor it worked fine. thanks
NEVERMIND what i said. I figured out what was wrong. MCLRE does not provide a software pullup resistor and when it was that pins turn to be an IOC it would automatically toggle the LED. after putting a pullup resistor it worked fine. thanks
Bookmarks