waveshare_lcd1602
¶
Drive for Waveshare’s I2C character display LCD1602. A port of Waveshare’s RGB1602 Micropython library.
Author(s): Neradoc
Implementation Notes¶
Hardware:
Software and Dependencies:
Adafruit CircuitPython firmware for the supported boards: https://circuitpython.org/downloads
Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
- class waveshare_lcd1602.LCD1602(i2c: busio.I2C, columns: int, rows: int)¶
Setup a new RGB LCD1602 display
- Parameters
- clear()¶
Clear the display.
- display()¶
Turn on the display.
- setColorWhite()¶
Set the color of the RGB backlight to white.
- setCursor(col, row)¶
Place the cursor on the display.
- setRGB(r, g, b)¶
Set the color of the RGB backlight.
- setReg(reg, data)¶
Set the value of a register.