This commit is contained in:
jeremygan2021
2026-03-04 19:42:24 +08:00
parent ef496b8d13
commit 87af3b346f
2 changed files with 9 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ import struct
import gc
import network
import st7789py as st7789
from config import CURRENT_CONFIG
from config import CURRENT_CONFIG, SERVER_URL
from audio import AudioPlayer, Microphone
# Define colors that might be missing in st7789py
@@ -16,9 +16,6 @@ import ujson
WIFI_SSID = "Tangledup-AI"
WIFI_PASS = "djt12345678"
SERVER_IP = "6.6.6.88"
SERVER_PORT = 8000
SERVER_URL = f"ws://{SERVER_IP}:{SERVER_PORT}/ws/audio"
IMAGE_STATE_IDLE = 0
IMAGE_STATE_RECEIVING = 1