mirror of
https://github.com/skoelle/wt32sc01-dashboard.git
synced 2026-09-17 17:30:25 +00:00
fix build
This commit is contained in:
@@ -35,8 +35,8 @@ WT32-SC01 Plus Dashboard für ESP32-S3 (3.5" kapazitiver Touch-IPS-Display, 320
|
|||||||
# Build + Flash mit explizitem Port
|
# Build + Flash mit explizitem Port
|
||||||
./scripts/deploy.sh /dev/ttyUSB0
|
./scripts/deploy.sh /dev/ttyUSB0
|
||||||
|
|
||||||
# Nur Build (ohne Flash)
|
# Nur Build (ohne Flash) - Erfordert virtuelle Umgebung
|
||||||
pio run
|
.venv-platformio/bin/pio run
|
||||||
|
|
||||||
# Serieller Monitor
|
# Serieller Monitor
|
||||||
pio device monitor
|
pio device monitor
|
||||||
|
|||||||
@@ -29,12 +29,12 @@ void buildList() {
|
|||||||
// Header row with column titles.
|
// Header row with column titles.
|
||||||
lv_obj_t *header = lv_label_create(list);
|
lv_obj_t *header = lv_label_create(list);
|
||||||
lv_label_set_text(header, "Icon Uhrzeit Grad Text Regen %");
|
lv_label_set_text(header, "Icon Uhrzeit Grad Text Regen %");
|
||||||
lv_obj_set_style_text_font(header, &lv_font_montserrat_12, 0);
|
lv_obj_set_style_text_font(header, &lv_font_montserrat_14, 0);
|
||||||
lv_obj_set_style_text_color(header, Theme::text(), 0);
|
lv_obj_set_style_text_color(header, Theme::text(), 0);
|
||||||
|
|
||||||
// Separator line below header.
|
// Separator line below header.
|
||||||
lv_obj_t *header_line = lv_line_create(list);
|
lv_obj_t *header_line = lv_line_create(list);
|
||||||
static lv_point_t header_points[] = {{0, 0}, {280, 0}};
|
static lv_point_precise_t header_points[] = {{0, 0}, {280, 0}};
|
||||||
lv_line_set_points(header_line, header_points, 2);
|
lv_line_set_points(header_line, header_points, 2);
|
||||||
lv_obj_set_style_line_color(header_line, Theme::textDim(), 0);
|
lv_obj_set_style_line_color(header_line, Theme::textDim(), 0);
|
||||||
lv_obj_set_style_line_width(header_line, 1, 0);
|
lv_obj_set_style_line_width(header_line, 1, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user