I have a PIC16F628 with a pushbutton hoocked up to pin 4 (the RA5) and I want to use it for FREEZING and if it's hold down a little longer - RESET of a counter.
But the pin is not acting like "RA5" (an input port) but as MCLR - so the processor resets !
How can I change the pin to be a INPUT and not MCLR ?
RA5 and NOT MCLR ??
Moderator: Benj
Re: RA5 and NOT MCLR ??
Hi Ksor.
To remove the MCLR function from the pin you need to turn it off in the advanced section of the chip config page.
e.g. Chip > Configure > Switch to expert config page.
Then disable the Master Clear Enable.
Regards
Jim
To remove the MCLR function from the pin you need to turn it off in the advanced section of the chip config page.
e.g. Chip > Configure > Switch to expert config page.
Then disable the Master Clear Enable.
Regards
Jim