make indentation consistent

This commit is contained in:
interfisch 2021-07-01 21:50:35 +02:00
parent c219d7cf5f
commit 82652008d7
1 changed files with 71 additions and 72 deletions

View File

@ -39,7 +39,7 @@ class Controller:
self.mqtt.connect(mqtt_host, mqtt_port)
self.topic = base_topic
self.display.print("ABCD")
self.display.print("BOOT")
def on_disconnect(self, client, userdata, rc):
@ -88,8 +88,7 @@ class Controller:
self.mqtt.loop()
if self.display is not None:
##display.print(self.text[self.poscount])
display.print(42)
self.display.print(self.text[self.poscount])
self.poscount += 1
self.poscount %= len(self.text)
time.sleep(self.scroll_interval)