scrolling text functionality added

This commit is contained in:
Neythen
2021-05-14 11:31:14 +01:00
parent 4374934237
commit d9df697ca7
8 changed files with 77 additions and 48 deletions

View File

@@ -137,6 +137,16 @@ def Brightness():
LastCommand = 'Change Brightness'
return hello()
@app.route("/Display_text", methods=['POST'])
def Display_text():
text = request.form['text']
f = open('csv/scroll_text.csv', 'w+')
f.write(text)
f.close()
ticker.sendline('T')
return hello()
@app.route("/Ticker", methods=['POST'])
def Ticker():
if request.method == 'POST':