Need help on ht-picc lcd routine

Status
Not open for further replies.

arash_micro

Member level 5
Joined
Jan 25, 2005
Messages
91
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
739
lcd routine

Hi all.
In Ht-picc ther is a lcd sample that i want to make a little change in it.I change the data port to portb .but when i change the rs and rw pin to RB4 & RB5 the lcd doesn't work and i must make all pins to one port.
What shall i do now?
 

Did you make change in code for this two pins?

static bit LCD_RS @ ((unsigned)&PORTB*8+4); // Register select
static bit LCD_EN @ ((unsigned)&PORTB*8+5); // Enable

If you do, does original example works, maybe you made mistake somewhere else?

You dont give us lot of information, so you cannot get precise answer.

Mr.Cube
 

Is my question so hard ?How can i use lcd with just one port.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…