Add mode query

This commit is contained in:
Cole Deck 2024-08-16 12:12:39 -05:00
parent 3fb78f8b5a
commit 5a5202e6f5

4
run.py
View File

@ -264,6 +264,10 @@ def check_server():
case "ping":
fprint("Pong!!!")
case "mode":
if call == "request":
send_data("mode", "send", "{\"mode\": \"" + mode + "\" }")
# Lucas' notes
# Add a ping pong :) response/handler
# Add a get cable response/handler