May 10, 2014 #1 G ghoola 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) { } }
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) { } }
May 12, 2014 #2 embRTS Full Member level 4 Joined Sep 8, 2013 Messages 201 Helped 36 Reputation 72 Reaction score 33 Trophy points 28 Location Bangalore Visit site Activity points 1,191 what type of error message you got can you tell in detail as I use generally Atmel Studio So i asked
May 12, 2014 #3 G ghoola 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 embRTS said: what type of error message you got can you tell in detail as I use generally Atmel Studio So i asked Click to expand... the error is : "the _lcd_ready"is not defined
embRTS said: what type of error message you got can you tell in detail as I use generally Atmel Studio So i asked Click to expand... the error is : "the _lcd_ready"is not defined
May 12, 2014 #4 embRTS Full Member level 4 Joined Sep 8, 2013 Messages 201 Helped 36 Reputation 72 Reaction score 33 Trophy points 28 Location Bangalore Visit site Activity points 1,191 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
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