Microcontroller › 8051 › I need help to understand programe in digital clock using LCD. › hello amit kumar,the quantity
May 14, 2011 at 3:27 am
#6191
dagakshay
Participant
hello amit kumar,
the quantity you want to display on LCD is in int formate LCD display in ascii formate.. so you need to send ascii code of repective number or alphabet to display.. if you want to display A on LCD thenyou need to send 65 to LCD…
in your LCD 16×2
there are 2 lines16 character in each lines space available on your LCD… to jump in first line you need to send 0x80 in command formate.. in first line you can move as 0x81, 0x82, 0x83…..0x8f
for second line it starts from 0xc0
so 0xc3 means second line 4 position
0xc6= 2 line 7th position