implement set_default_mixer command
This commit is contained in:
parent
04413f58e1
commit
1c5ca4fdfd
1 changed files with 2 additions and 2 deletions
4
mixer.py
4
mixer.py
|
@ -117,7 +117,7 @@ class Mixer:
|
||||||
|
|
||||||
msg_bytes = bytes(a.bytes() + b.bytes() + c.bytes() + d.bytes())
|
msg_bytes = bytes(a.bytes() + b.bytes() + c.bytes() + d.bytes())
|
||||||
|
|
||||||
print (' '.join(f"{b:02X}" for b in msg_bytes))
|
print(' '.join(f"{b:02X}" for b in msg_bytes))
|
||||||
self.sock.sendall(msg_bytes)
|
self.sock.sendall(msg_bytes)
|
||||||
|
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
|
@ -176,7 +176,7 @@ def main():
|
||||||
|
|
||||||
case 'set_default_layer':
|
case 'set_default_layer':
|
||||||
mixer = Mixer(args.ip, MIXER_PORT)
|
mixer = Mixer(args.ip, MIXER_PORT)
|
||||||
# mixer.set_layer()
|
mixer.scene_recall(0)
|
||||||
|
|
||||||
case 'watch':
|
case 'watch':
|
||||||
mixer = Mixer(args.ip, MIXER_PORT)
|
mixer = Mixer(args.ip, MIXER_PORT)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue