- This topic has 2 replies, 3 voices, and was last updated 7 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › LCD cursor possition
hellow all
I using 8051 and lcd 16×2. I need curcor possition write under the int or data on lcd like "A " not like this " A _ ".
Please suggest me by example program or any way.
cursor position will be by default always where next character to be displayed
if you want A then its goint to overwrite the letter everytime
I do not Know Much 8051 But i tell you how i did id in avr
Suppose this is 16 x 2 Lcd
Address of First box on first Line is 0x80 # # # # # # # # # # # # # # # #
Address of First box on first Line is 0xC0 # # # # # # # # # # # # # # # #
Before Main Function
char colmn[2]={0x80,0xC0};
void SetCursor(uint8_t x,uint8_t y); \ X=Row Y= Colmn
int main()
{
to go Specific Location
SetCursor(4,0); \4th box in first line
SetCursor(4,1); \4th box in second line
}