I have connected a Sparkfun SerLCD1602 v1.4 to the RP PICO though the serial interface. I am trying to position the cursor on the 3rd column of the first row by using the commands below:
spi.write(‘\x7C’) # enter settings
spi.write(‘\x2D) # clear screen
#spi.write(‘\x7C’)
spi.write(‘\xFE’) # send command character
spi.write(‘\x80’ ) # change cursor position, to
#spi.write(‘\x00’) # first row
#spi.write(‘\x03’) # third column
spi.write(‘\x7c’) # enter settings
spi.write(“Cycle time”) # print “text”
The text is moving to the requested position but it is writing funny characters in the first four cells of the first row.
Any suggestions please how to do it correctly?
LCD1602 SPI interfaced, moving cursor
1 Answers