mirror of
https://github.com/WeActStudio/WeActStudio.EpaperModule.git
synced 2026-08-16 13:13:45 +02:00
add 3.7 inch Epaper BW, remove some examples
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
## How to build
|
||||
```
|
||||
# connect epaper module
|
||||
# res pin -> Pin 11
|
||||
# busy pin -> Pin 18
|
||||
# d/c pin -> Pin 22
|
||||
# cs pin -> Pin 24
|
||||
# sck/scl pin -> Pin 23
|
||||
# mosi/sda pin -> Pin 19
|
||||
|
||||
# enable spi
|
||||
sudo raspi-config
|
||||
# Interfacing Options -> SPI -> Yes
|
||||
|
||||
# reboot
|
||||
sudo reboot
|
||||
|
||||
# install wiringpi
|
||||
git clone https://github.com/WiringPi/WiringPi
|
||||
cd WiringPi
|
||||
./build
|
||||
|
||||
# build epaper example
|
||||
make clean
|
||||
# 4.2 Inch Epaper Module Black/White/Red
|
||||
make EPD_TYPE=EPD420_BWR
|
||||
# 4.2 Inch Epaper Module Black/White
|
||||
make EPD_TYPE=EPD420_BW
|
||||
|
||||
# run epaper example
|
||||
./bin/epd
|
||||
```
|
||||
Reference in New Issue
Block a user