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.

Code in Keil for displaying values on LCD with 89c51

Status
Not open for further replies.

vicky29

Member level 4
Joined
Feb 5, 2005
Messages
75
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
750
Hi everybody, i have started learning Keil c51. I have tried out with small programs and they are working. now i'm planing to send messages and values on 16x2 LCD but i'm unable to do it. I'll be very thankful to someone who can provide me the code for same. I read somewhere printf statement is used for this but i couldn't use it. thanks
 

erodeboy

Member level 5
Joined
Nov 15, 2005
Messages
81
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Location
India
Activity points
1,987
LCD+89c51 in ke*il

check 8052.com code library for lcd interfacing C code. if u need i'll upload
 

Rooftop

Full Member level 2
Joined
Oct 28, 2004
Messages
135
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,298
Activity points
1,241
LCD+89c51 in ke*il

i think 8052.com only provide the assembly language. Btw may i see your code? I have ever write some characters to LCD16x2 and it works well and i think it's better if you have your own code so i hope you can post it and we can learn how to repair it.

Best regards
 

vicky29

Member level 4
Joined
Feb 5, 2005
Messages
75
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
750
LCD+89c51 in ke*il

erodeboy please send me the code i was unable to find it on 8052.com
 

hot_ice

Member level 1
Joined
Feb 7, 2006
Messages
38
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,599
LCD+89c51 in ke*il

if u plan to drive LCD in 4-bit mode than email me at:
moazzamshafique atta hotmail dotta com
 

vicky29

Member level 4
Joined
Feb 5, 2005
Messages
75
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Activity points
750
LCD+89c51 in ke*il

Thanks all of you. I did it.
 

Roma_te

Member level 1
Joined
Feb 9, 2006
Messages
37
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,288
Activity points
1,537
Re: LCD+89c51 in Keil

Please find attached library for HD44780 controller of LCD.
I think it will help you.
 

erodeboy

Member level 5
Joined
Nov 15, 2005
Messages
81
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,288
Location
India
Activity points
1,987
Re: LCD+89c51 in Keil

here am attaching the fiels required for interfacing lcd with microcontroller. the code can also be downloaded directly from 8052.com
 

axalis1

Newbie level 3
Joined
May 10, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,298
Re: LCD+89c51 in Keil

lcd application
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top