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!
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!