I noticed there is a couple libraries for 60x2 LCD's communicating over I2C, but I can't find any for this LCD here:
https://www.sparkfun.com/products/16398
If there are no libraries for this, do I need one? Or can I just write my own code? I am new to this, so if these are dumb questions I apologize.
20x4 LCD Help?
Re: 20x4 LCD Help?
The command set is similar to the "standard" cheap lcd ones, with a few extenstions. And also sparkfun provides a Python driver. So you have two options:
a) Adapt the I2C access methods of the sparkfun driver.
b) Modify Dave Hylands LCD driver. https://github.com/dhylands/python_lcd.git
a) seems easier, since you have to re-implement only the few qwiic-c2c methods, as documented here: https://qwiic-i2c-py.readthedocs.io/en/ ... #qwiic-i2c
a) Adapt the I2C access methods of the sparkfun driver.
b) Modify Dave Hylands LCD driver. https://github.com/dhylands/python_lcd.git
a) seems easier, since you have to re-implement only the few qwiic-c2c methods, as documented here: https://qwiic-i2c-py.readthedocs.io/en/ ... #qwiic-i2c
Re: 20x4 LCD Help?
SerLCDs are nice when used with a UART, as all you need to do is write() text and commands to the port and it will display. The Configuration & Command Set does almost everything you might want.
It's also useful that these are 3V3 devices now. The ancient SerLCD I have (uses a PIC16F) is a very 5V device, and so doesn't see as much use as it could.
It's also useful that these are 3V3 devices now. The ancient SerLCD I have (uses a PIC16F) is a very 5V device, and so doesn't see as much use as it could.