Hi,
I have tried to connect an LCD display to PORTC pins 0-5 and it will not work. I have connected it to PORTB with no problems. I have also tried with the same program using a PIC16F823 and connected the display to both PORTB and PORTC and it works ok on both ports.
Thanks
PIC18F26K80 LCD wont work on PORTC
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC18F26K80 LCD wont work on PORTC
Hello,
Have you tried using the port C pins for simple digital outputs. This should hopefully give you an idea about which specific pin is not working correctly and then we can go through the datasheet looking for what might be causing the problem.
One thing I have noticed is the secondary OSC is on PortC and is enabled in your config settings.
Have you tried using the port C pins for simple digital outputs. This should hopefully give you an idea about which specific pin is not working correctly and then we can go through the datasheet looking for what might be causing the problem.
One thing I have noticed is the secondary OSC is on PortC and is enabled in your config settings.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- QMESAR
- Valued Contributor
- Posts: 1287
- Joined: Sun Oct 05, 2014 3:20 pm
- Location: Russia
- Has thanked: 384 times
- Been thanked: 614 times
Re: PIC18F26K80 LCD wont work on PORTC
Please see this topic,
I am quite sure your pin RC0 and RC1 is not working and the lcd also not
On the 26K80 you have to set one settings as digital in the configuration to get RCO and RC1 to work as digital pins !
viewtopic.php?f=76&t=21157
I am quite sure your pin RC0 and RC1 is not working and the lcd also not
On the 26K80 you have to set one settings as digital in the configuration to get RCO and RC1 to work as digital pins !
viewtopic.php?f=76&t=21157
https://www.flowcodexchange.com/
Regards QMESAR
Regards QMESAR