Refactor power saving logic into display drivers and add ST7789 support
This commit is contained in:
@@ -38,6 +38,11 @@ void st7789_draw_circle(uint16_t x0, uint16_t y0, uint16_t r, uint16_t color);
|
||||
void st7789_fill_circle(uint16_t x0, uint16_t y0, uint16_t r, uint16_t color);
|
||||
void st7789_draw_line(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1, uint16_t color);
|
||||
|
||||
void st7789_sleep(void);
|
||||
void st7789_wake(void);
|
||||
void st7789_set_brightness(uint8_t brightness);
|
||||
uint8_t st7789_get_brightness(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user