runnable on WT32-SC01-PLUS

This commit is contained in:
Peter Siegmund
2025-10-08 07:59:23 +02:00
parent abeb791511
commit 31845c0596
31 changed files with 1326 additions and 739 deletions

19
firmware/main/lgfx.h Normal file
View File

@@ -0,0 +1,19 @@
#pragma once
#include <lvgl.h>
#define LGFX_USE_V1
#include <LovyanGFX.hpp>
class LGFX : public lgfx::LGFX_Device
{
private:
lgfx::Panel_ST7796 _panel_instance;
lgfx::Bus_Parallel8 _bus_instance; // 8ビットパラレルバスのインスタンス (ESP32のみ)
lgfx::Light_PWM _light_instance;
lgfx::Touch_FT5x06 _touch_instance; // FT5206, FT5306, FT5406, FT6206, FT6236, FT6336, FT6436
public:
LGFX(void);
};