use clear() method of lib.display
This commit is contained in:
parent
643e16f278
commit
383773a0fe
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
|
@ -72,7 +72,7 @@ def stop():
|
||||||
stop_event.set()
|
stop_event.set()
|
||||||
animation_thread.join()
|
animation_thread.join()
|
||||||
# Clear the display
|
# Clear the display
|
||||||
lib.display.matrix.matrix.Clear()
|
lib.display.matrix.clear()
|
||||||
return jsonify({"status": "stopped"})
|
return jsonify({"status": "stopped"})
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue