Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Bucknalla/micropython-i2c-lcd
π₯ MicroPython Driver for I2C 2x16 LCD Screens
https://github.com/Bucknalla/micropython-i2c-lcd
i2c lcd micropython
Last synced: about 16 hours ago
JSON representation
π₯ MicroPython Driver for I2C 2x16 LCD Screens
- Host: GitHub
- URL: https://github.com/Bucknalla/micropython-i2c-lcd
- Owner: Bucknalla
- License: mit
- Created: 2017-01-11T14:43:21.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-05-06T13:03:04.000Z (6 months ago)
- Last Synced: 2024-08-02T20:45:15.973Z (3 months ago)
- Topics: i2c, lcd, micropython
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 30
- Watchers: 4
- Forks: 20
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-micropython - micropython-i2c-lcd - Driver for I2C 2x16 LCD Screens. (Libraries / Display)
- awesome-mpython - micropython-i2c-lcd - Driver for I2C 2x16 LCD Screens. (η²Ύιι©±ε¨εΊ / ζΎη€Ίη±»)
README
# MicroPython I2C 16x2 LCD Screen
This library is designed to support a MicroPython interface for i2c LCD character screens. It's designed around the Pycom implementation of MicroPython so will need to be tweaked to work for CircuitPython.
## Compatible LCDs
- [Grove LCD RGB Backlight](https://www.seeedstudio.com/grove-lcd-rgb-backlight-p-1643.html?cPath=34_36)## Tested Dev Kits
- LoPy
- WiPy
- SiPy## Module
This module supports writing to, clearing and refreshing the LCD screen, among other functions.
### write(text)
Prints text to LCD screen at the location of the cursor.
### autoscroll(bool)
Enables lcd to scroll text as typed.
### cursor(bool)
Sets cursor visibility.
### blink(bool)
Sets blink visibility.
### display(bool)
Sets display state (on/off).
### home()
Returns the cursor to the (0,0) location on screen
### move(col, row)
Moves the cursor to (col,row)
### color(r, g, b)
Changes the color of the LCD Backlight to (r,g,b)