|
|
2 жил өмнө | |
|---|---|---|
| .. | ||
| src | 2 жил өмнө | |
| README.MD | 5 жил өмнө | |
| README.txt | 5 жил өмнө | |
GxEPD2 supports only HW SPI with the unmodified library. The replacement files in the src directory provide the option to use SW SPI. This is a workaround and not very elegant, therefore it is provided as a replacement only.
To use SW SPI with GxEPD2:
To use the modified library with HW SPI
To switch back to using HW SPI during run time display.epd2.init(-1, -1, 115200, true, 20, false); // revert to HW SPI display.init(115200); // needed to init upper level
The SW SPI allows also to read through MOSI pin from DIN of e-paper controller data = display.epd2._readData(); display.epd2._readData(data, n);