PIC16F1788 and RA6 as I/O
I have a PIC16F1788 and I have some problems with port RA6 as an I/O port.
I have 8 switches on POARTA they are all working except on RA6. Also when I connect pin RA6 directly to 5V I get no reaction from this pin.
I have made a simple LED flasher to test these port. (see attachment) RA5 is working and RA6 not.
Is there something in the config of this chip what I must change? Or is there something wrong with the .fcd file?
PIC16F1788 and RA6 as I/O
Moderator: Benj
-
- Valued Contributor
- Posts: 658
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 184 times
- Been thanked: 203 times
- Contact:
Re: PIC16F1788 and RA6 as I/O
Hi
Looking at your program and configuration I see that you have Clock Out = Enabled.
This will output a clock on Port RA6. Try Disabling this in config.
Hope this helps
Regards
Looking at your program and configuration I see that you have Clock Out = Enabled.
This will output a clock on Port RA6. Try Disabling this in config.
Hope this helps
Regards
-
- Posts: 192
- Joined: Mon Mar 04, 2013 8:07 pm
- Has thanked: 29 times
- Been thanked: 15 times
- Contact:
Re: PIC16F1788 and RA6 as I/O
Hi chipfryer27,
Yes this was the problem. Again something learned
Many thanks for this quick answer.
Yes this was the problem. Again something learned
Many thanks for this quick answer.
-
- Valued Contributor
- Posts: 658
- Joined: Fri Jun 06, 2014 3:53 pm
- Has thanked: 184 times
- Been thanked: 203 times
- Contact:
Re: PIC16F1788 and RA6 as I/O
Hi
I've done many such things and most times "I can't see the wood for the trees"
Glad it's working.
Regards
I've done many such things and most times "I can't see the wood for the trees"
Glad it's working.
Regards