Add example
This commit is contained in:
parent
106b8d7eac
commit
62282598f9
11
example.py
Normal file
11
example.py
Normal file
@ -0,0 +1,11 @@
|
||||
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)))
|
Loading…
Reference in New Issue
Block a user