Browse Source

refactor:AKAI

micha 3 years ago
parent
commit
3e8988d8a1
4 changed files with 5 additions and 1 deletions
  1. 4 0
      AKAI_APCmini002.py
  2. 1 1
      console.py
  3. 0 0
      lib/ArtNetNode.py
  4. 0 0
      lib/__init__.py

+ 4 - 0
AKAI_APCmini002.py

@@ -67,6 +67,10 @@ cli = None
 import socket, struct
 
 
+c = chat.tcp_sender()
+def send(msg):
+    c.send(msg)
+
 
 
 def main():

+ 1 - 1
console.py

@@ -26,7 +26,7 @@ import struct
 import random
  
 import lib.chat as chat
-import ArtNetNode as ANN
+import lib.ArtNetNode as ANN
 import _thread as thread  
 #thread.start_new_thread
 

+ 0 - 0
ArtNetNode.py → lib/ArtNetNode.py


+ 0 - 0
lib/__init__.py