even more bugs and typos

This commit is contained in:
CiscoTheWolf 2023-05-29 20:26:00 +02:00
parent a47b167a07
commit 568e48f95d

View file

@ -1,6 +1,6 @@
from rgbmatrix import RGBMatrix, RGBMatrixOptions
import Point2D
import ProotState
from ProotState import ProotState
import time
import random
@ -120,7 +120,7 @@ for alpha in range(0,11):
endT = curr_time = round(time.time()*1000)
print("populating matrices for each blink frame took: " + str(endT - startT) + " ms")
proot_state = ProotState.ProotState()
proot_state = ProotState()
proot_state.set_matrix(matrix)
proot_state.set_blinks_frames_ready(True)
proot_state.blink()
@ -136,7 +136,7 @@ def on_connect(client, userdata, flags, response_code):
def on_message(client, userdata, message):
print("Received message '" + str(message.payload) + "' on topic '"
+ message.topic + "' with QoS " + str(message.qos))
proot_state = ProotState.ProotState()
proot_state = ProotState()
proot_state.blink()
# MQTT broker configuration