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```
Change Foreground Color color value 0-255 ```s.changeForeColor(color)```
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```
Change Foreground Color color value 0-255 ```s.changeForeColor(color)```
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.26.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for digole-0.0.1.26-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 799e3f4752925b0f94c2a67f972b677064a8e08d600208eb8feeae993a435908 |
|
MD5 | 0509d6569b4c29c4e98822c0aea47d22 |
|
BLAKE2b-256 | 24de43368bb0390f3e836744352fe069923ab195831528393739d83c91cc97bd |