• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

LCD1602 SPI interfaced, moving cursor

Q&A Forum › LCD1602 SPI interfaced, moving cursor
0 Vote Up Vote Down
Philip Borg asked 9 months ago
1 Answers
0 Vote Up Vote Down
Philip Borg answered 9 months ago

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?

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.