LCD
2007-11-14 by Omid Station
Dear All
I have a problem about characteristic LCD.
When I use <lcd.h> and simulate my circuit in Proteus program, only odd (or even) characters shown correctly and other characters shown wrong. Also first character in each word always doesnât show.
For example if I want to show âdocumentâ LCD shows â ofufeftâ in Proteus simulation.
My LCD is 20x4 and My AVR IC is Atmega 32 , version of my Code Vision is 1.23.8c Standard and version of my Proteus is 6.9 (full).
I use these functions:
#include <mega32.h>
#asm
.equ __lcd_port=0x18
#endasm
#include <lcd.h>
void main(void)
{
lcd_init(20);
lcd_clear();
while (1)
{
lcd_gotoxy(0,0);
lcd_putsf("document");
};
}
I changed LCD port in AVR IC but problem still exists.
How I can correct my program? Is it required other adjustment? Is it possible that Proteus is responsible my problem?
Regards
---------------------------------
Get easy, one-click access to your favorites. Make Yahoo! your homepage.
[Non-text portions of this message have been removed]