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.mqtt.connect(mqtt_host, mqtt_port)
|
||||||
self.topic = base_topic
|
self.topic = base_topic
|
||||||
|
|
||||||
self.display.print("ABCD")
|
self.display.print("BOOT")
|
||||||
|
|
||||||
|
|
||||||
def on_disconnect(self, client, userdata, rc):
|
def on_disconnect(self, client, userdata, rc):
|
||||||
|
@ -88,8 +88,7 @@ class Controller:
|
||||||
self.mqtt.loop()
|
self.mqtt.loop()
|
||||||
|
|
||||||
if self.display is not None:
|
if self.display is not None:
|
||||||
##display.print(self.text[self.poscount])
|
self.display.print(self.text[self.poscount])
|
||||||
display.print(42)
|
|
||||||
self.poscount += 1
|
self.poscount += 1
|
||||||
self.poscount %= len(self.text)
|
self.poscount %= len(self.text)
|
||||||
time.sleep(self.scroll_interval)
|
time.sleep(self.scroll_interval)
|
||||||
|
|
Loading…
Reference in New Issue