E_paper, E_ink, Screen size 1.54", resolution 200x200, 4 wire spi, Waveshare, Black and White, Kl25Z, 8 wire print connector, supply 3.3 Volt, IL0373 Controller, font size is 8, 12, 16 and 24.
Diff: epd1in54.cpp
- Revision:
- 1:d27a7e06c233
- Parent:
- 0:665e04c85d8d
- Child:
- 2:d7fc318a1528
--- a/epd1in54.cpp Sun Mar 25 12:14:55 2018 +0000 +++ b/epd1in54.cpp Mon Mar 26 17:20:56 2018 +0000 @@ -84,6 +84,9 @@ SpiTransfer(data); } + + + /** * @brief: Wait until the busy_pin goes LOW */ @@ -185,7 +188,8 @@ SendCommand(WRITE_RAM); /* send the image data */ for (int i = 0; i < this->width / 8 * this->height; i++) { - SendData(pgm_read_byte(&image_buffer[i])); + //SendData(pgm_read_byte(&image_buffer[i])); + SendData(*(&image_buffer[i])); } }