Skip to content

Commit

Permalink
#29 Correct resolution for 4.01 inches 7 color Waveshare
Browse files Browse the repository at this point in the history
  • Loading branch information
martinberlin committed Feb 23, 2021
1 parent c8dcf86 commit 584c0bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/CalEPD/include/color/wave4i7Color.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
#include <color/wave7colors.h>

// Controller: SPD1656 https://www.waveshare.com/w/upload/b/bf/SPD1656_1.1.pdf
#define WAVE4I7COLOR_WIDTH 600
#define WAVE4I7COLOR_HEIGHT 448
#define WAVE4I7COLOR_WIDTH 640
#define WAVE4I7COLOR_HEIGHT 400
#define WAVE4I7COLOR_BUFFER_SIZE (uint32_t(WAVE4I7COLOR_WIDTH) * uint32_t(WAVE4I7COLOR_HEIGHT) / 2)

class Wave4i7Color : public Epd7Color
{
public:

Wave4i7Color(EpdSpi& IO);
const uint8_t colors_supported = 7;
bool spi_optimized = true;
Expand Down

0 comments on commit 584c0bb

Please sign in to comment.