starting with launch screen

This commit is contained in:
2023-08-08 17:03:53 +02:00
parent 91c2571114
commit 8f2c7ddc4b
8 changed files with 219 additions and 12 deletions

17
include/gfx/lgfx.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#define LGFX_USE_V1
#include <LovyanGFX.hpp>
class LGFX : public lgfx::LGFX_Device
{
private:
lgfx::Panel_ST7796 _panel_instance;
lgfx::Bus_Parallel8 _bus_instance;
lgfx::Light_PWM _light_instance;
lgfx::Touch_FT5x06 _touch_instance;
public:
LGFX();
};

4
include/gfx/lv_setup.h Normal file
View File

@@ -0,0 +1,4 @@
#pragma once
void lv_begin();
void lv_handler();

View File

@@ -0,0 +1,3 @@
#pragma once
void ui_LaunchScreen_open();