PIC18F26K80 LCD wont work on PORTC

A forums to allow bugs and problems with Flowcode v7 to be reported and resolved.

Moderator: Benj

Post Reply
Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Has thanked: 93 times
Been thanked: 76 times
Contact:

PIC18F26K80 LCD wont work on PORTC

Post by Zane »

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
Attachments
Flowcode1.fcfx
(9.51 KiB) Downloaded 239 times

User avatar
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

Post by Benj »

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.

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: PIC18F26K80 LCD wont work on PORTC

Post by QMESAR »

Please see this topic,
I am quite sure your pin RC0 and RC1 is not working and the lcd also not :D
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

Zane
Flowcode v5 User
Posts: 199
Joined: Thu Sep 10, 2009 10:57 pm
Location: New Zealand
Has thanked: 93 times
Been thanked: 76 times
Contact:

Re: PIC18F26K80 LCD wont work on PORTC

Post by Zane »

Hi Guys,

Thanks for your help here, got it working fine now. :D

Post Reply