Digole LCD Drivers
Project description
Digole LCD Driver
Tested with Digole 160x128 Color LCD 1.8" DSDM/Serial
Raspberry Pi 3 B using the i2c bus
Installing ``` pip3 install digole ```
Upgrade ``` pip3 install 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```
Tested with Digole 160x128 Color LCD 1.8" DSDM/Serial
Raspberry Pi 3 B using the i2c bus
Installing ``` pip3 install digole ```
Upgrade ``` pip3 install 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```
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
digole-0.0.1.24.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for digole-0.0.1.24-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c40e44739b89858f379723e6d57059ce22c6a3cc0f4c6690162e0cdfee07b15 |
|
MD5 | 4e298f369dfcd99290a86534d1b2b143 |
|
BLAKE2b-256 | 71fcf5161aa9656f7111ee4d856badb774046a95aba38715d55819186f3882be |