Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

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?
 

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,814
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
 

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.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top