Skip to main content

Inky pHAT Driver

Project description

Inky

Build Status Coverage Status PyPi Package Python Versions

Python library for the Inky pHAT and Inky wHAT e-paper displays.

Inky pHAT

Inky pHAT is a 212x104 pixel e-paper display, available in red/black/white, yellow/black/white and black/white. It’s great for nametags and displaying very low frequency information such as a daily calendar or weather overview.

Inky wHAT

Inky wHAT is a 400x300 pixel e-paper display available in red/black/white. It’s got tons of resolution for detailed daily todo lists, multi-day weather forecasts, bus timetables and more.

Installation

The Python pip package is named einky, install with:

sudo pip install einky

Usage

The Inky library contains modules for both the pHAT and wHAT, load the InkyPHAT one as follows:

from inky import InkyPHAT

You’ll then need to pick your colour, one of ‘red’, ‘yellow’ or ‘black’ and instantiate the class:

inkyphat = InkyPHAT('red')

If you’re using the wHAT you’ll need to load the InkyWHAT class from the Inky library like so:

from inky import InkyWHAT
inkywhat = InkyWHAT('red')

Since Inky wHAT is currently only available in red, we pick that colour.

0.0.4

  • BugFix: Reverted normal red LUTs to correct values

0.0.3

  • Enhancement: Added support for display variant detection

  • Enhancement: Added DocStrings

  • BugFix: Fixed set_border for all colours

0.0.2

  • BugFix: Yellow Inky pHAT now yellow instead of brown/black

  • Enhancement: Performance tweak for set_image

0.0.1

  • Initial Release

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

einky-0.0.4.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distributions

einky-0.0.4-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

einky-0.0.4-py2-none-any.whl (9.8 kB view hashes)

Uploaded Python 2

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