Dec 29, 2005 #1 A 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?
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?
Jan 2, 2006 #2 mrcube_ns Advanced Member level 1 Joined Apr 10, 2002 Messages 452 Helped 48 Reputation 96 Reaction score 34 Trophy points 1,308 Location Europe Activity points 3,813 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
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
Jan 3, 2006 #3 A 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 Is my question so hard ?How can i use lcd with just one port.