Template: E-paper for stm32 use 1in02
From Waveshare Wiki
Revision as of 06:54, 2 September 2023 by Waveshare-admin (talk | contribs) (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/")
STM32
Hardware Connection
Connect with the 8PIN cable, please refer to the following pinout table:
e-Paper | STM32 |
VCC | 3.3V |
GND | GND |
DIN | PA7 |
CLK | PA5 |
CS | PA4 |
DC | PA2 |
RST | PA1 |
BUSY | PA3 |
Run the Program
- Click to download the program, then unzip it into the E-Paper_code directory and you will see the following content.
- Use Keil to open the "epd-demo.uvprojx" in the directory of "E-Paper_code\STM32\STM32-F103ZET6\MDK-ARM".
- Open Keil's compile toolbar (which is usually already open)
- Select the EPD_1in02d_test target at the location shown in the picture.
- Click to compile:
- Make sure the appropriate burner is connected, then click LOAD to download the program to the microcontroller: