lv_conf.h
Arduino/CCIT4080_CL05_PKPD_Group2/lv_conf.h
/**
* LVGL Configuration for CCIT4080 Health Monitor
* Based on lv_conf_template.h for LVGL v8.4.x
*
* Only defines overrides — all unset macros fall back
* to defaults in lv_conf_internal.h.
*/
#ifndef LV_CONF_H
#define LV_CONF_H
#include <stdint.h>
/*=====================
* COLOR SETTINGS
*====================*/
#define LV_COLOR_DEPTH 16
#define LV_COLOR_16_SWAP 0 /* TFT_eSPI setSwapBytes(true) handles byte order */
/*=====================
* MEMORY SETTINGS
*====================*/
#define LV_MEM_CUSTOM 0
#define LV_MEM_SIZE (48U * 1024U)
/*=====================
* HAL SETTINGS
*====================*/
#define LV_TICK_CUSTOM 1
#define LV_TICK_CUSTOM_INCLUDE "Arduino.h"
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (millis())
/*=====================
* FONT SETTINGS
*====================*/
#define LV_FONT_MONTSERRAT_14 1
#define LV_FONT_MONTSERRAT_16 1
#define LV_FONT_MONTSERRAT_20 1
#define LV_FONT_MONTSERRAT_48 1
#define LV_FONT_DEFAULT &lv_font_montserrat_14
/*=====================
* WIDGET USAGE
*====================*/
#define LV_USE_FLEX 1
#define LV_USE_GRID 1
#endif /* LV_CONF_H */
相关文章
2.4_max30102.cpp
2.4_max30102.cpp — cpp source code from the Arduino learning materials (Arduino/CCIT4080_CL05_PKPD_Group2/src/Combination/2.4_and_max30102_test/2.4_max30102.cpp).
阅读文章 →bluetooth.cpp
bluetooth.cpp — cpp source code from the Arduino learning materials (Arduino/CCIT4080_CL05_PKPD_Group2/src/Test_components/bluetooth_test/bluetooth.cpp).
阅读文章 →ec11.cpp
ec11.cpp — cpp source code from the Arduino learning materials (Arduino/CCIT4080_CL05_PKPD_Group2/src/Test_components/button_test/ec11.cpp).
阅读文章 →1.69_inch_display.cpp
1.69_inch_display.cpp — cpp source code from the Arduino learning materials (Arduino/CCIT4080_CL05_PKPD_Group2/src/Test_components/display_test/1.69_inch_display/1.69_inch_display.cpp).
阅读文章 →2.4_inch_display.cpp
2.4_inch_display.cpp — cpp source code from the Arduino learning materials (Arduino/CCIT4080_CL05_PKPD_Group2/src/Test_components/display_test/2.4_inch_display/2.4_inch_display.cpp).
阅读文章 →2.4_inch_touch.cpp
2.4_inch_touch.cpp — cpp source code from the Arduino learning materials (Arduino/CCIT4080_CL05_PKPD_Group2/src/Test_components/display_test/2.4_inch_touch/2.4_inch_touch.cpp).
阅读文章 →