Black mode bug
This commit is contained in:
parent
cfc7c70d16
commit
6b1b75858f
2 changed files with 17 additions and 7 deletions
|
|
@ -456,7 +456,17 @@ def handler(oscpath, args):
|
|||
laser = int(oscpath[3])
|
||||
|
||||
#print "args[0] :",args[0]," ", type(args[0])
|
||||
|
||||
# /black/lasernumber value (0 or 1)
|
||||
if oscpath[1] == "black":
|
||||
|
||||
if args[0] == "1":
|
||||
print("Black requested for laser ", laser)
|
||||
BlackOn(laser)
|
||||
else:
|
||||
print("User mode for laser ", laser)
|
||||
UserOn(laser)
|
||||
|
||||
# /grid/lasernumber value (0 or 1)
|
||||
if oscpath[1] == "grid":
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue