- This topic has 1 reply, 2 voices, and was last updated 9 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › Libraries
I am using the Keil V3 IDE to switch I created a function that helps me set the cursor on the 20×4 LCD.
The function is called Setcursor(x,y) to which x and y correspond to the position on the LCD.
Can someone please help me/guide me into making this function into a library?
Function code to anyone who wants to use this in his projects.
to set line the code is 0x80 and0xC0
to set column you have to set number from 0 to F like 0x81, 0xC4 etc
read the LCD datasheet for furthur information