make indentation consistent
This commit is contained in:
parent
c219d7cf5f
commit
82652008d7
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue