Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
PORTA pins are multiplexed with the built-in A/D converter and comparator in many PIC microcontrollers. If you're trying to set individual bits but you did not configure the PORT for digital I/O, you're very likely to get weird results. RA5 is input only in 18-pin PICs; RA6 and RA7 can be used for general I/O - assuming that you're using the internal oscillator - but you have to set the configuration bits properly.
BTW have you mentioned which PIC you're using? have you already posted the complete code on these forums?
No, they are in bank 0, but are you sure that you're operating in bank 0?Could it be that these registers are in bank B...? They're at 0x02c, and 0x02d.
Hi,Hummm, I get a blank window when I click view, disassembly listing. I'm in debug/release pickit2.