RA5 and NOT MCLR ??

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
ksor
Posts: 126
Joined: Mon Oct 23, 2006 3:50 pm
Contact:

RA5 and NOT MCLR ??

Post by ksor »

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 ?
Best regards
KSor, Denmark

JAW
Posts: 30
Joined: Tue Jun 16, 2009 2:25 pm
Been thanked: 4 times
Contact:

Re: RA5 and NOT MCLR ??

Post by JAW »

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

ksor
Posts: 126
Joined: Mon Oct 23, 2006 3:50 pm
Contact:

Re: RA5 and NOT MCLR ??

Post by ksor »

Great - that's it - thx JAW !
Best regards
KSor, Denmark

Post Reply