浏览代码

add: log msg fade_in.py

micha 2 年之前
父节点
当前提交
b6c97b03e3
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      remote/fader_in.py

+ 3 - 2
remote/fader_in.py

@@ -56,11 +56,12 @@ while 1:
 
     if type(x) is list and len(x) == 512: 
         ch = 140
-        print(x[ch])
+        #print(ch,x[ch])
         #data = input("<")
 
         v = x[ch]
-        cmd="VAL: {} {}".format(ch,v)
+        cmd="DMX:{} VAL:{}".format(ch,v)
+        print(cmd)
         if ch in data:
             if data[ch] != cmd:
                 data[ch] = cmd