Hi there!
I've been trying a long time to interface my TM162A-3 16x2 LCD module with ATmega32 in 4 bit mode using a library (also tried my own library) and failed untill now. Please suggest me a solution. The library was from this link: http://winavr.scienceprog.com/sites/default/files/storyfiles/AVR-LCD4b.zip
I tried compile my code without including "lcd_lib.c" and compiler showed error message "Undefined reference to LCDinit()" "Undefined reference to CopyStringtoLCD()". Including "lcd_lib.c" in main C file solved the issue. Which was unfamiliar to me... I'm using AVRstudio 5. But still nothing as you can see in simulation. What's wrong with my code?
Thanks in advance!
I've been trying a long time to interface my TM162A-3 16x2 LCD module with ATmega32 in 4 bit mode using a library (also tried my own library) and failed untill now. Please suggest me a solution. The library was from this link: http://winavr.scienceprog.com/sites/default/files/storyfiles/AVR-LCD4b.zip
I tried compile my code without including "lcd_lib.c" and compiler showed error message "Undefined reference to LCDinit()" "Undefined reference to CopyStringtoLCD()". Including "lcd_lib.c" in main C file solved the issue. Which was unfamiliar to me... I'm using AVRstudio 5. But still nothing as you can see in simulation. What's wrong with my code?
Thanks in advance!
Attachments
-
50.6 KB Views: 21
-
6.6 KB Views: 18