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.

[AVR] avr lcd programming in CV

Status
Not open for further replies.

ghoola

Member level 2
Member level 2
Joined
Aug 7, 2013
Messages
43
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
india
Visit site
Activity points
352
I have a problem with this code the codevision have error with _lcd_ready() line .what should I do?
Code:
#include <mega32a.h>

// Alphanumeric LCD functions
#include <alcd_ks0073.h>

// Declare your global variables here
void main(void)
{

lcd_init(16);
lcd_clear();
lcd_gotoxy(2,0);
lcd_putsf("LCD TEST");
lcd_gotoxy(5,1);
lcd_putsf("ATMEGA32a");
lcd_gotoxy(14,0);
lcd_putchar('*');
_lcd_ready();
_lcd_write_data(0x0f);
while (1)
{
}
}
 

what type of error message you got can you tell in detail as I use generally Atmel Studio So i asked
 

https://instruct1.cit.cornell.edu/courses/ee476/codevisionC/cvavrman.pdf
See the page 117 of this Link It may help you there are LCD functions defined
as I use to define my own library and functions so dont know whats the exact problem

Meanwhile I can predict that You look on "" lcd.c "" file in your Project file (if any available) and search for the _lcd_ready(); Function
this is just to check whether it has been defined there or not
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top