Library for interacting with an I2C LCD screen through Python
Project description
LCD I2C
Use an I2C LCD with Python
Basic library for interacting with I2C LCD screens. It started off as a Python port of the Arduino LiquidCristal_I2C library and ended up implementing an object oriented API, for easier use.
Tested using a Raspberry Pi Zero 2W.
Examples
Connect to LCD screen and print some text:
from lcd_i2c import LCD_I2C
lcd = LCD_I2C(39, 16, 2)
# Turn on the backlight
lcd.backlight.on()
# Show the blinking cursor
lcd.blink.on()
# or:
# lcd.cursor.blink.on()
# Print some text
lcd.write_text('Hola!')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lcd-i2c-0.2.3.tar.gz
(7.2 kB
view details)
Built Distribution
File details
Details for the file lcd-i2c-0.2.3.tar.gz
.
File metadata
- Download URL: lcd-i2c-0.2.3.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35805a097066b93ce24f459812aad6d741d1991cb78e98c7dd859087963f4dd4 |
|
MD5 | 840b79142f8e3654857af928de84f2dc |
|
BLAKE2b-256 | 0db9a8a1c51415b969d493b43949cc787e0145a33529903860aa6d6f3dac1279 |
File details
Details for the file lcd_i2c-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: lcd_i2c-0.2.3-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.2 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b55149818987d02fc166bed984b8d3d5fcf6032ebf9648cb3e546f894d1708c6 |
|
MD5 | fff4ee83bc14df604f56a1ba8a901019 |
|
BLAKE2b-256 | b0ac350bd46f6befdf6599c81ce91166caa8cd36e26ae64608edd0c345dcc827 |