Digole LCD Driver
Tested with Digole 160x128 Color LCD 1.8” DSDM/Serial
Raspberry Pi 3 B using the i2c bus
Examples at www.github.com/jethornton/digole
Installing `pip3 install digole`
Upgrade `pip3 install digole --upgrade`
Or `pip3 install --no-cache-dir digole --upgrade`
Importing `from digole import lcd`
Create a new instance and use the default i2c address of 0x27 `s = lcd()`
Create a new instance and use a different i2c address `s = lcd(0x29)`
clear the screen `s.clearScreen()`
write a line of text `s.writeLine('Text to write')`
change X start position from the left edge in columns```s.changePosition(x)```
change XY start position of the text from the top left corner in columns, rows `s.changePosition(x,y)`
`s.changePosition(0,2) # start the text on column 0 row 2`
Change Foreground Color color value 0-255 `s.changeForeColor(color)` color can be an int 0-255, a hex 0x0-0x255 or a color name from the chart.
Black = 0 = 0x0 Navy = 2 = 0x2 Blue = 3 = 0x3 Green = 24 = 0x18 Teal = 27 = 0x1B Lime = 28 = 0x1C Aqua = 31 = 0x1F Maroon = 192 = 0xC0 Purple = 195 = 0xC3 Olive = 219 = 0xDB Red = 224 = 0xE0 Magenta = 227 = 0xE3 Yellow = 252 = 0xFC White = 255 = 0xFF
Metadata
Release files for digole 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| digole-0.0.5.tar.gz | 2.5 kB | Without provenance | Details for digole-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| digole-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for digole-0.0.5-py3-none-any.whl |
Total release size: 5.9 kB
Release files / digole-0.0.5.tar.gz
| Download URL | digole-0.0.5.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95a660ee986a501eb536e48c9c8b003157da93e26ddc70290cae6d70e2dc048b
|
|
BLAKE2b-256 checksum How to use checksums |
a67a38e02bac1b97b059c0a058c6ed0037645ee87d8bc1209f89015a64be8947
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2
|
Release files / digole-0.0.5-py3-none-any.whl
| Download URL | digole-0.0.5-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6efab2be913f7282c7a09cb81b6c03418be36cbfc7d6b7c571834df859fd1fc1
|
|
BLAKE2b-256 checksum How to use checksums |
1e4a02695cbac5545fc62ddb99b77dda2596961c0b0c46d3c51caefb5163b106
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2
|
Security for digole 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.