-->
Page 1 of 1

Make LCD compatible with 2004 layout

PostPosted: Sat Aug 20, 2016 11:04 am
by fsae99
I'd like to use a 2004 i2C LCD. The current LCD function only seems to support 1602 layout.

Thansk,
Jim

This code produces Hello World starting at 00 in the upper left and first 5 LCDPrints moves the characters over columns, then next 4 prints only prints to 2nd row starting at 1st column.

Code: Select alllcdcls
lcdprint "Hello World",0,0
delay (5000)

lcdcls
lcdprint "Hello World",1,0
delay (5000)

lcdcls
lcdprint "Hello World",2,0
delay (5000)

lcdcls
lcdprint "Hello World",3,0
delay (5000)

lcdcls
lcdprint "Hello World",4,0
delay (5000)

lcdcls
lcdprint "Hello World",0,1
delay (5000)

lcdcls
lcdprint "Hello World",0,2
delay (5000)

lcdcls
lcdprint "Hello World",0,3
delay (5000)

lcdcls
lcdprint "Hello World",0,4
delay (5000)