mirror of
https://github.com/Lapikud/Viido.git
synced 2026-03-23 21:24:21 +00:00
Lisasin uue projektori controlid ja serial manuali
This commit is contained in:
BIN
projektor/ExternalControlManual-english.pdf
Normal file
BIN
projektor/ExternalControlManual-english.pdf
Normal file
Binary file not shown.
@@ -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":
|
||||||
|
|||||||
Reference in New Issue
Block a user