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
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
epuikit-0.0.6.tar.gz
(4.8 kB
view hashes)