This commit is contained in:
Thomas Farstrike
2025-04-23 10:38:50 +02:00
parent c9f6adf5f9
commit cc08ad3889
9 changed files with 3 additions and 2 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

@@ -0,0 +1 @@
../../../../icon_64x64.png

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

@@ -0,0 +1 @@
../../../../icon_64x64.png

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

@@ -0,0 +1 @@
../../../../icon_64x64.png

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

@@ -0,0 +1 @@
../../../../icon_64x64.png

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

@@ -0,0 +1 @@
../../../../icon_64x64.png

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

@@ -0,0 +1 @@
../../../../icon_64x64.png

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

@@ -0,0 +1 @@
../../../../icon_64x64.png

Before

Width:  |  Height:  |  Size: 6.6 KiB

After

Width:  |  Height:  |  Size: 26 B

+1 -1
View File
@@ -61,7 +61,7 @@ i2c_bus = i2c.I2C.Bus(host=I2C_BUS, scl=TP_SCL, sda=TP_SDA, freq=I2C_FREQ, use_l
touch_dev = i2c.I2C.Device(bus=i2c_bus, dev_id=TP_ADDR, reg_bits=TP_REGBITS)
indev=cst816s.CST816S(touch_dev,startup_rotation=lv.DISPLAY_ROTATION._180) # button in top left, good
task_handler.TaskHandler()
th = task_handler.TaskHandler()
display.set_rotation(lv.DISPLAY_ROTATION._90)
# Custom touch interrupt handler:
+2 -1
View File
@@ -39,7 +39,7 @@ drawer=None
wifi_screen=None
drawer_open=False
lv.screen_active().set_style_bg_color(lv.color_hex(0x000000), 0)
lv.screen_active().set_style_bg_color(lv.color_hex(0x444444), 0)
def open_drawer():
global drawer_open
@@ -112,6 +112,7 @@ def update_time(timer):
seconds = (ticks // 1000) % 60
milliseconds = ticks % 1000
time_label.set_text(f"{hours:02d}:{minutes:02d}:{seconds:02d}.{milliseconds:03d}")
lv.timer_create(update_time, CLOCK_UPDATE_INTERVAL, None)
notification_bar.add_event_cb(toggle_drawer, lv.EVENT.CLICKED, None)