I have to design a security code lock and in the code entering part i have to view and shift the lcd cursor. I'm using flex_lcd driver and I can't understand how to use the cursor. Please somebody help me with the cursor.
The problem is I don't know to view the cursor and shift the cursor.
You'll have to get and read the datasheet for the LCD that you're using. Most follow a 'standard', but we don't know what you're using. If you post the LCD make/model then we can help you better.
Mike Walne
Joined: 19 Feb 2004 Posts: 1785 Location: Boston Spa UK
Posted: Thu Apr 05, 2012 11:12 am
Read the CCS forum guidelines. You give us very little to go on.
You're possibly looking for the command lcd_gotoxy(x,y) which manipulates the cursor position.
Mike
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Thu Apr 05, 2012 11:24 am
Quote:
The problem is I don't know to view the cursor and shift the cursor.
To move the cursor, use the lcd_gotoxy() function. Documentation on it:
// lcd_gotoxy(x,y) - Sets the write position on LCD (upper left is 1,1)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum