EasyManua.ls Logo

Waveshare 4.2inch e-Paper Module - Python Code Initialization; Python Image Buffer Creation

Default Icon
25 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4.2inch e-Paper Module User Manual
V2.0 23 / 25
parameter 3 is radius of circle, parameter 4 and 5 are style
Paint_DrawString_EN: Display English characters, parameter 1 and 2 are position,
parameter 3 is string, parameter 4 is font size, parameter 5 and 6 are background
and font colors
Paint_DrawString_CN: Display Chinese characters
Paint_DrawNum: Display number, parameter 1 and 2 are position, parameter is
number (int), parameter 4 is size, parameter 5 and 6 are background and font
colors.
7. Sleep mode:
It is recommended to add after refreshing.
PYTHON CODES
1. Initialize e-Paper
2. Create image buffer using python image library

Related product manuals