Lisasin uue projektori controlid ja serial manuali

This commit is contained in:
Peter-Sten Annus
2020-03-12 21:33:41 +02:00
parent f1c40af2f3
commit d86de9ecf9
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -34,9 +34,9 @@ def set_status():
mode = request.forms.get("mode") mode = request.forms.get("mode")
print("SETTING STATUS TO", mode) print("SETTING STATUS TO", mode)
if mode == "off": if mode == "off":
send(b"\r*pow=off#\r") send(b"\x02\x01\x00\x00\x00\x03")
elif mode == "on": elif mode == "on":
send(b"\r*pow=on#\r") send(b"\x02\x00\x00\x00\x00\x02")
elif mode == "viido": elif mode == "viido":
send1(b"t") send1(b"t")
elif mode == "hdmi": elif mode == "hdmi":