LCD display in CCS

Status
Not open for further replies.

mrrmot

New Member
Hey everyone!

I'm doing a PIC project and need to use a LCD display. CCS has predefined functions for that purpose. But that function is having a defined pin connection as follows:

RD0 enable
RD1 rs
RD2 rw
RD4 D4
RD5 D5
RD6 D6
RD7 D7

The problem is that I have connected my pic with the display the following way:

RB1 enable
RD7 rs
RB0 rw
RB2 D4
RB3 D5
RB4 D6
RB5 D7

Does anyone with CCS experience know how I should change the defined function for my purpose?

Thanks in advance!
 
Visit the CCS forum. They have a forum for code. You will find a few well written LCD drivers there. They come in several flavors. The is one with flex in the name that allows you to mix signals from several ports.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…