led-marquee-sign-client/example.py
2024-04-14 22:04:21 +02:00

12 lines
472 B
Python

from led_marquee_sign_client.line import Line, Message
from led_marquee_sign_client.enums import *
msg = Message()
msg.add(Line().add(Cartoon.Welcome))
msg.add(Line(transition=Transition.Random).add("Hallo im FabLab Altmühlfranken!"))
msg.add(Line(transition=Transition.ScanLine).add(Macro.CurrentTime24h))
msg.add(Line(font_type=FontType.Font7x11Wide).add(Symbol.Duck).add(" Ente ").add(Symbol.Duck).add(" Ente ").add(Symbol.Duck).add(" Ente"))
print(repr(str(msg)))