For WaveShare 4.3inch e-paper UART module.
Project description
WaveShare 4.3inch e-paper
> Read the Documentation here <
For WaveShare 4.3inch e-paper UART module
import wave_share_4d3inch_epaper
# init on COM3
ep = wave_share_4d3inch_epaper.EPaper('COM3')
# clear
ep.clear()
# rotation 0
ep.set_rotation(ep.ROTATION_0)
# black
ep.set_color(ep.COLOR_BLACK)
# rect
ep.rect(0, 0, 799, 599)
# gray
ep.set_color(ep.COLOR_GRAY)
# rect
ep.rect(10, 10, 790, 590)
# black
ep.set_color(ep.COLOR_BLACK)
# text
ep.set_font_size_en(ep.FONT_SIZE_48)
ep.set_font_size_zh(ep.FONT_SIZE_48)
ep.text(20, 50, 'WaveShare 4.3inch e-paper UART module')
# dark gray
ep.set_color(ep.COLOR_DARK_GRAY)
# text
ep.set_font_size_en(ep.FONT_SIZE_32)
ep.set_font_size_zh(ep.FONT_SIZE_32)
ep.text(20, 150, 'pip3 install -U wave-share-4d3inch-epaper')
# author
ep.text(20, 270, 'Author: neoctobers')
ep.text(20, 320, 'Github: https://git.io/wave_share_4.3inch_epaper')
# line
ep.line(700, 300, 700, 550)
ep.line(710, 300, 710, 550)
ep.line(720, 300, 720, 550)
# text
ep.text(50, 450, 'BLACK')
# circle
ep.fill_circle(75, 525, 25)
ep.circle(175, 525, 25)
# dark gray
ep.set_color(ep.COLOR_DARK_GRAY)
# text
ep.text(250, 450, 'DARK_GRAY')
# tri
ep.fill_tri(275, 500, 250, 550, 300, 550)
ep.tri(375, 500, 350, 550, 400, 550)
# gray
ep.set_color(ep.COLOR_GRAY)
# text
ep.text(450, 450, 'GRAY')
# rect
ep.fill_rect(450, 500, 500, 550)
ep.rect(550, 500, 600, 550)
# bmp
ep.bmp(625, 125, 'FNUT.BMP')
# update
ep.update()
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
Built Distribution
Close
Hashes for wave_share_4d3inch_epaper-1.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b85120b9580de094025f16ce01a6ac7d39ca2dfc9684c102f4283c53e39dfba1 |
|
MD5 | 769c2222009743ee9f7ee6e23c87c87c |
|
BLAKE2b-256 | b8ed1fdc5c03dd950cdff0b5b1177d955b28d493286a4840d69b6e350356e123 |
Close
Hashes for wave_share_4d3inch_epaper-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef4ed36e4eecd3b0464ff3aa41c274b2c93d164f1e61894a077a6c5493030247 |
|
MD5 | e9a73f3f961bfa95d0d8fc4f3567fbf3 |
|
BLAKE2b-256 | dd0e96e3d812396c5423c1deee48b71ab10da055c5f5305a722da33f4e1b1b40 |