RGB Display Improvements (#243)

* 550 Buffer size

* 043 to use the RgbDisplay driver too

Both rgb displays are pretty snappy (as snappy as 800 * 480 can be on an esp32)
This commit is contained in:
Shadowtrance
2025-03-12 17:15:12 +10:00
committed by GitHub
parent 778e003d4d
commit 2d535fec2a
11 changed files with 149 additions and 337 deletions
+10 -8
View File
@@ -1,16 +1,18 @@
#include "CYD8048S043C.h"
#include "Tactility/lvgl/LvglSync.h"
#include "hal/YellowDisplay.h"
#include "hal/YellowDisplayConstants.h"
#include "hal/YellowSdCard.h"
#include <Tactility/hal/Configuration.h>
#include "CYD8048S043C.h" // Don't remove, or we get a linker error ("undefined reference to `cyd_8048s043c_config'" - GCC bug?)
#include "PwmBacklight.h"
#include "hal/CydDisplay.h"
#include "hal/CydSdCard.h"
using namespace tt::hal;
bool initBoot() {
return driver::pwmbacklight::init(GPIO_NUM_2);
}
const Configuration cyd_8048s043c_config = {
.initBoot = initBoot,
.createDisplay = createDisplay,
.sdcard = createYellowSdCard(),
.sdcard = createSdCard(),
.power = nullptr,
.i2c = {
//Touch