Via Program Refresh
Summary
This topic aims to describe refreshing the Wireless Paper by downloading the program through the USB interface.
Image coding
小技巧
This screen does not support grayscale, so when making the image, you will need to convert it to a pure black and white image smaller than 250X122.
Using program refresh paper, you’ll need a tool for image transcoding, in this case Convertio.
Open Convertio: https://convertio.co/zh/xbm-converter/, and select the image that needs to be taken,
Copy and save the code you get.
Downloading the program
Confirm whether the
USB driver
,Git
andArduino IDE
has been installed correctly. If not, please refer to this two articles establish serial connection and Install Git and Arduino IDE.Confirm that The Heltec ESP32 development environment is installed, please refer toESP32+LoRa Quick start.
Connect the Wireless Paper to the computer using a TYPE-C wire. Use Arduino IDE to open the example we provided or any other program that works, as shown below.
Replace the contents of image.h
with the file Convertio generated earlier, as shown below.
小技巧
Be careful to fill in the data of Weight and Hight in the red box part of the figure, rather than copying this part directly.
Click upload, when the program is uploaded, the image is displayed on E-Ink.