summaryrefslogtreecommitdiffstats
path: root/osc_ctrl.py
diff options
context:
space:
mode:
Diffstat (limited to 'osc_ctrl.py')
-rw-r--r--osc_ctrl.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/osc_ctrl.py b/osc_ctrl.py
index 9a986a1..9cb33cf 100644
--- a/osc_ctrl.py
+++ b/osc_ctrl.py
@@ -19,7 +19,9 @@ client = udp_client.SimpleUDPClient(args.i, args.p)
for i in range(1,100):
addr="/avatar/parameters/_Letter_Row00_Col00_03"
- msg = ((15 << 24) | (16 << 16) | (17 << 8) | 18)
+ #addr="/avatar/parameters/_Letter_Row00_Col00"
+ #msg = ((15 << 24) | (16 << 16) | (17 << 8) | 18)
+ msg = i % 2
print("send {} to {}".format(msg, addr))
client.send_message(addr, msg)
time.sleep(1)