This commit is contained in:
NorthernMan54
2024-12-06 08:34:50 -05:00
parent 1761810f5d
commit f8f9faca36
5 changed files with 8 additions and 5 deletions

View File

@@ -23,7 +23,7 @@
"theme_color2": 0,
"uiExportFolderPath": "/Users/sgracey/Code/OpenMQTTGateway/lib/sqlUI",
"projectExportFolderPath": "/Users/sgracey/Code/OpenMQTTGateway",
"backup_cnt": 192,
"backup_cnt": 312,
"autosave_cnt": 0,
"lvgl_version": "9.1.0",
"callfuncsexport": "C_FILE",

View File

@@ -3883,7 +3883,7 @@
"theme_color2": 0,
"uiExportFolderPath": "/Users/sgracey/Code/OpenMQTTGateway/lib/sqlUI",
"projectExportFolderPath": "/Users/sgracey/Code/OpenMQTTGateway",
"backup_cnt": 191,
"backup_cnt": 311,
"autosave_cnt": 0,
"lvgl_version": "9.1.0",
"callfuncsexport": "C_FILE",

View File

@@ -220,7 +220,7 @@
*LV_LOG_LEVEL_ERROR Only critical issue, when the system may fail
*LV_LOG_LEVEL_USER Only logs added by the user
*LV_LOG_LEVEL_NONE Do not log anything*/
#define LV_LOG_LEVEL LV_LOG_LEVEL_WARN
#define LV_LOG_LEVEL LV_LOG_LEVEL_INFO
/*1: Print the log with 'printf';
*0: User need to register a callback with `lv_log_register_print_cb()`*/

View File

@@ -55,7 +55,10 @@ Arduino_DataBus *bus = new Arduino_ESP32QSPI(
Arduino_GFX *g = new Arduino_AXS15231B(bus, GFX_NOT_DEFINED /* RST */, 2 /* rotation */, false /* IPS */, DISPLAY_WIDTH, DISPLAY_HEIGHT);
#define CANVAS
Arduino_Canvas *gfx = new Arduino_Canvas(DISPLAY_WIDTH, DISPLAY_HEIGHT, g, 0 /* output_x */, 0 /* output_y */, 0 /* rotation */);
#define TOUCH_IICSDA 4
#define TOUCH_IICSCL 8
#define ALS_ADDRESS 0x3B
uint8_t read_touchpad_cmd[8] = {0xb5, 0xab, 0xa5, 0x5a, 0x0, 0x0, 0x0, 0x8};
#endif /* !defined(DISPLAY_DEV_KIT) */
/*******************************************************************************
* End of Arduino_GFX setting

View File

@@ -62,7 +62,7 @@ module loop, for use in Arduino loop
bool firstRun = true;
const int MAX_TILES = 32;
const int MAX_TILES = 4;
lv_obj_t* tiles[MAX_TILES] = {nullptr};
int messageCount = 0;
int headIndex = 0; // Tracks the next index to overwrite