Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top