Difference between revisions of "Template:2.9inch e-Paper HAT (D) STM"
From Waveshare Wiki
m (Text replacement - "https://www.waveshare.com/w/upload/" to "https://files.waveshare.com/upload/") |
|||
Line 25: | Line 25: | ||
==Run The Program== | ==Run The Program== | ||
− | *[https:// | + | *[https://files.waveshare.com/upload/3/39/E-Paper_code.7z Click to download the demo], and then unzip it into the E-Paper_code directory to see the following content. |
[[File:STM32 for 4.37 e-paper010.jpg]]<br/> | [[File:STM32 for 4.37 e-paper010.jpg]]<br/> | ||
*Use Keil to open epd-demo.uvprojx in the E-Paper_code\STM32\STM32-F103ZET6\MDK-ARM directory. | *Use Keil to open epd-demo.uvprojx in the E-Paper_code\STM32\STM32-F103ZET6\MDK-ARM directory. |
Revision as of 06:06, 2 September 2023
Working With STM32
Hardware Connection
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 demo, and then unzip it into the E-Paper_code directory to see the following content.
- Use Keil to open epd-demo.uvprojx in the E-Paper_code\STM32\STM32-F103ZET6\MDK-ARM directory.
- Open Keil's compilation toolbar (usually already open).
- Select the EPD_2in9d_test at the location shown in the picture.
- Click to compile.
- Make sure the appropriate programmer is connected, then click LOAD to download the demo to the microcontroller.