Updates STM32 and Arduino refresh rates (1.54v2, 2.9v2, 7.5)

This commit is contained in:
SSYYL 2021-07-19 15:03:19 +08:00
commit 588163b176
22 changed files with 1634 additions and 7190 deletions

View file

@ -64,6 +64,13 @@ public:
int image_width,
int image_height
);
void SetFrameMemoryPartial(
const unsigned char* image_buffer,
int x,
int y,
int image_width,
int image_height
);
void DisplayFrame(void);
void DisplayPartFrame(void);
@ -74,6 +81,8 @@ private:
unsigned int cs_pin;
unsigned int busy_pin;
void Lut(unsigned char* lut);
void SetLut(unsigned char* lut);
void SetMemoryArea(int x_start, int y_start, int x_end, int y_end);
void SetMemoryPointer(int x, int y);
};