LCD line, pos, data$
‘line’ is the line on the display (1 to 4)
‘pos’ is the position on the line where the data is to be written (the first position on the line is 1).
‘data$’ is a string containing the data to write to the LCD display. The characters in data$ will overwrite whatever was on that part of the LCD.
LCD INIT d4, d5, d6, d7, rs, en
D4, d5, d6 and d7 are the I/O pins that connect to inputs D4, D5, D6 and D7 on the LCD module (inputs D0 to D3 and R/W on the module should be connected to ground).
‘rs’ is the pin connected to the register select input on the module (sometimes called CMD or DAT).
‘en’ is the pin connected to the enable or chip select input on the module.