Update factory

This commit is contained in:
lewishe 2023-04-17 18:51:17 +08:00
parent 4b942a3af3
commit 5af4f76257
2 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@
/* The product now has two screens, and the initialization code needs a small change in the new version. The LCD_MODULE_CMD_1 is used to define the
* switch macro. */
// #define LCD_MODULE_CMD_1
#define LCD_MODULE_CMD_1
#include "OneButton.h" /* https://github.com/mathertel/OneButton.git */
#include "lvgl.h" /* https://github.com/lvgl/lvgl.git */
@ -34,6 +34,7 @@
// The current configuration certificate is valid until April 16, 2024
#define CUSTOM_TIMEZONE "CST-8"
esp_lcd_panel_io_handle_t io_handle = NULL;
static lv_disp_draw_buf_t disp_buf; // contains internal graphic buffer(s) called draw buffer(s)
static lv_disp_drv_t disp_drv; // contains callback functions

View File

@ -3,8 +3,8 @@
// #define WIFI_SSID "Your-ssid"
// #define WIFI_PASSWORD "Your-password"
#define WIFI_SSID "GL-MT1300-44e"
#define WIFI_PASSWORD "88888888"
#define WIFI_SSID "xinyuandianzi"
#define WIFI_PASSWORD "AA15994823428"
#define WIFI_CONNECT_WAIT_MAX (30 * 1000)