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

renaming stuff

parent c8832518
from pixelframe import app
from flask import render_template
import pixelframe.threadfun as t
import pixelframe.pixel_service as pixel_service
def main_page():
......@@ -13,11 +13,11 @@ def hello_method():
return render_template('hello.html', name="foo")
def threadfun():
def start_pixels():
return "Started work."
def threadstop():
return "Stopped work"
\ No newline at end of file
def stop_pixels():
return "Stopped work"
......@@ -37,7 +37,7 @@ def display_pixels():
sender[universe].destination = ""
while running is True:
print(f'>> Doing some work within thread, running={running} ')
# print(f'>> Doing some work within thread, running={running} ')
pic = blink.Thing(file="data/cyber-12x12.png")
sender[universe].dmx_data = pic.snake_tuple()
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