forked from xiaozhi/xiaozhi-esp32
Add configurable offset to SPI screen
This commit is contained in:
@@ -32,7 +32,7 @@ private:
|
||||
public:
|
||||
St7789Display(esp_lcd_panel_io_handle_t panel_io, esp_lcd_panel_handle_t panel,
|
||||
gpio_num_t backlight_pin, bool backlight_output_invert,
|
||||
int width, int height, bool mirror_x, bool mirror_y, bool swap_xy);
|
||||
int width, int height, int offset_x, int offset_y, bool mirror_x, bool mirror_y, bool swap_xy);
|
||||
~St7789Display();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user