Commit bbe276aa authored by Christian Wander's avatar Christian Wander
Browse files

move the blinklib into the package and use it

parent 52fafc67
import threading, queue
import time
import pixelframe.blink as blink
import sacn
running = False
def doit():
......@@ -25,8 +28,18 @@ def stopit():
def threaded_function():
universe = 1
sender = sacn.sACNsender()
sender[universe].destination = ""
while running is True:
print(f'>> Doing some work within thread, running={running} ')
pic = blink.Thing(file="data/cyber-12x12.png")
sender[universe].dmx_data = pic.snake_tuple()
print(f'>> Finished work within thread!')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment