Sep 3, 2005 #1 C coolchip Full Member level 2 Joined Nov 17, 2003 Messages 125 Helped 1 Reputation 2 Reaction score 2 Trophy points 1,298 Activity points 1,109 mplab problem Simulating the following in MPLAB v7.20 debugger doesn't set bit 0 of PORTA of 16f877A. clrw bsf STATUS, RP0 clrf TRISA bcf STATUS, RP0 bsf PORTA, 0 retlw 0 Everything else works fine. Anybody?
mplab problem Simulating the following in MPLAB v7.20 debugger doesn't set bit 0 of PORTA of 16f877A. clrw bsf STATUS, RP0 clrf TRISA bcf STATUS, RP0 bsf PORTA, 0 retlw 0 Everything else works fine. Anybody?
Sep 3, 2005 #2 ful babu Full Member level 3 Joined Nov 11, 2004 Messages 174 Helped 13 Reputation 26 Reaction score 3 Trophy points 1,298 Location Singapore Activity points 1,634 Re: mplab problem did u forget to configure ADCON ??? put 0x07 in the register regards