You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|80b3aa2c7c||3 years ago|
|epd1in54_full||4 years ago|
|epd1in54_no_graphics||4 years ago|
|epd2in9_full||4 years ago|
|epd4in2_full||4 years ago|
|epd4in2_full_blue_pill||4 years ago|
|epd4in2_var_display_buffer||4 years ago|
|epd7in5_full||4 years ago|
|epd7in5_v2_full||3 years ago|
|Readme.md||4 years ago|
All of these examples are projects of their own.
A few notes:
- If not stated otherwise the example is for a Raspberry Pi running Linux.
- epdXinYY_full showcase most of what can be done with this crate. This means that they are using graphics feature and use the DisplayXinYY with its buffer.
This examples used the graphics feature with VarDisplay and therefore a variable buffer(size).
epd1in54_no_graphics (Fastest Example)
This example doesn't use the graphics feature and handles all the "drawing" by itself. It also has a speeddemonstration included.
Connect epd4in2 display to blue pill board:
- BUSY -> A10
- RST -> A9
- DC -> A8
- CS -> B12
- CLK -> B13
- DIN -> B15
- GND -> G
- VCC -> 3.3
For compiling and flashing, please refer to TeXitois blue pill quickstart.
curl https://sh.rustup.rs -sSf | sh rustup target add thumbv7m-none-eabi sudo apt-get install gdb-arm-none-eabi openocd cd epd4in2_full_blue_pill # connect ST-Link v2 to the blue pill and the computer # openocd in another terminal cargo run --release
Ff you can't connect to openocd you might need to adapt your udev rules or use sudo (openOCD Problems)