starting with launch screen
This commit is contained in:
17
include/gfx/lgfx.h
Normal file
17
include/gfx/lgfx.h
Normal 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
4
include/gfx/lv_setup.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
void lv_begin();
|
||||
void lv_handler();
|
3
include/ui/launch_screen.h
Normal file
3
include/ui/launch_screen.h
Normal file
@@ -0,0 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
void ui_LaunchScreen_open();
|
Reference in New Issue
Block a user