Skip to main content

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)```


Project details


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.25.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

digole-0.0.1.25-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file digole-0.0.1.25.tar.gz.

File metadata

  • Download URL: digole-0.0.1.25.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for digole-0.0.1.25.tar.gz
Algorithm Hash digest
SHA256 42e0490cfb3fd376738352e3d3e151b4638227a46aa09f9f88a23d2c86fc408b
MD5 5bc36b132d3ae68f0b10863fbb53ba12
BLAKE2b-256 e19f4f038d20af463537d58b01ae760b0f9c81fb602620c617151c18d0e3cbb8

See more details on using hashes here.

Provenance

File details

Details for the file digole-0.0.1.25-py3-none-any.whl.

File metadata

  • Download URL: digole-0.0.1.25-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/20.7.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.2

File hashes

Hashes for digole-0.0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 bc361734c56de4e94c01d74909f39f317b6fe7150b865b4a2ab970af37cda16c
MD5 ff667e874e93c07d083e457bc7fd9ac9
BLAKE2b-256 caadc13179f25591b9429d82a9559adeeb49fc9146668dd69d572cecd041c269

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page