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.

How to display message in lcd using Microcontoller ATmega8

Status
Not open for further replies.

ruhulamineee

Newbie level 6
Joined
Jul 28, 2012
Messages
11
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,357
Hello Everyone,

Can i use normal printf function like {"Hello EDAboard"};
then how can i connect ATmega8 with LCD.

Thank You
 

It is possible, but you need to check your specific compiler documentation or the stdio.h file, because you'll need to implement the code in a specific
function like putchar. For example, for IAR compiler, you can see it in this thread how to use printf to send the data to the serial port. In your case, you'd need to adapt the putchar function to send data to your LCD.
I'm not familiar with other compilers so I can't tell you how to do it, but the principle that i mentioned above is similar for all compilers.
 

Do you write your program in CodeVision or BASCOM ?
 

Sky_123
Thanks a lot for your valuable information

Mootti
yea im using codevisionAVR.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top