Skip to main content

UIKit for Raspberry on E-Paper

Project description

E-Paper-UI-Kit

UIKit for Raspberry on E-Paper

Usage

# -*- coding:utf-8 -*-
from EPUIKit import QuadrantsLayout, VirtualPaper
from EPUIKit.utils import font
from EPUIKit.widget import Label

layout = QuadrantsLayout(border=1)
layout.add(Label('LEFT_BOTTOM', font=font(32)), QuadrantsLayout.LEFT_TOP)
layout.add(Label('LEFT_BOTTOM', font=font(32)), QuadrantsLayout.LEFT_BOTTOM)
layout.add(Label('RIGHT_TOP', font=font(32)), QuadrantsLayout.RIGHT_TOP)
layout.add(Label('RIGHT_BOTTOM', font=font(32)), QuadrantsLayout.RIGHT_BOTTOM)
paper = VirtualPaper(layout, 144, 500)
paper.show()

Supported devices

  • waveshare 1.54inch e-Paper HAT V2
  • waveshare 2.13inch e-Paper HAT V2

License

MIT

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

epuikit-0.0.6.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

epuikit-0.0.6-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

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