printer
All checks were successful
Deploy WebSocket Server / deploy (push) Successful in 3s

This commit is contained in:
jeremygan2021
2026-03-05 20:04:16 +08:00
parent c66f80d0eb
commit 24e5b4d018
3 changed files with 136 additions and 153 deletions

View File

@@ -4,7 +4,7 @@ import struct
import gc
import network
import st7789py as st7789
from config import CURRENT_CONFIG, SERVER_URL
from config import CURRENT_CONFIG, SERVER_URL, ttl_tx, ttl_rx
from audio import AudioPlayer, Microphone
# Define colors that might be missing in st7789py
@@ -19,6 +19,7 @@ WIFI_PASS = "djt12345678"
IMAGE_STATE_IDLE = 0
IMAGE_STATE_RECEIVING = 1
PRINTER_STATE_RECEIVING = 2
UI_SCREEN_HOME = 0
UI_SCREEN_RECORDING = 1