initial commit
- added readme - added recharge scripts - added dots simple test script - added images, transitions and animations script
This commit is contained in:
commit
666a377e32
7 changed files with 404 additions and 0 deletions
17
dots.py
Normal file
17
dots.py
Normal file
|
@ -0,0 +1,17 @@
|
|||
"""
|
||||
Small sample Script to get size, mode and fonts from the Module and display it's Hostname
|
||||
"""
|
||||
# requires: python-fluepdot, python-dotenv
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
from fluepdot import Fluepdot, Mode
|
||||
|
||||
load_dotenv()
|
||||
hostname = os.getenv("DOTS_HOST")
|
||||
|
||||
|
||||
fd = Fluepdot(f"http://{hostname}")
|
||||
#fd.post_text("Current Time:", x=0, y=-1, font="DejaVuSerif16")
|
||||
#fd.clear()
|
||||
print(fd.get_size(), fd.get_mode(), fd.get_fonts())
|
||||
fd.post_text(f"{hostname}", font="DejaVuSans12bw_bwfont")
|
Loading…
Add table
Add a link
Reference in a new issue