adi2293
Newbie level 2
- Joined
- Dec 16, 2012
- Messages
- 2
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,294
I use atmega32 (16mhz), avr studio 6, and an avr usb programmer
My LCD is 16X2 JDH162A
I successfully made a code for writing to an LCD...but when I tried making for writing to a specific location,
all I was able to do was move the cursor to a specific location, but not able to write on that location..
the program compiled successfully, but I could not burn the program on the microcontroller..
it produced some sort of error :https://obrazki.elektroda.pl/4505256400_1355675700.png
CAn someone help me out??
I have also uploaded the .c fileView attachment lcd_phd.rar
My LCD is 16X2 JDH162A
I successfully made a code for writing to an LCD...but when I tried making for writing to a specific location,
all I was able to do was move the cursor to a specific location, but not able to write on that location..
the program compiled successfully, but I could not burn the program on the microcontroller..
it produced some sort of error :https://obrazki.elektroda.pl/4505256400_1355675700.png
Code:
void gotoxy(unsigned int x,unsigned int y)
{
unsigned char t=0;
if(y==0)
t=0;
else
t=64;
t=t+x-1;
Send_A_Command(t);
}
CAn someone help me out??
I have also uploaded the .c fileView attachment lcd_phd.rar
Last edited: