on high signal send to telegram

This commit is contained in:
2025-06-14 17:45:47 +02:00
parent ea4720e3f8
commit 0f13eee484
5 changed files with 136 additions and 18 deletions

View File

@ -15,10 +15,10 @@ from luma.core.sprite_system import framerate_regulator
def main():
regulator = framerate_regulator(fps=60)
regulator = framerate_regulator(fps=45)
img_path = str(Path(__file__).resolve().parent.joinpath('images', 'cat.gif'))
banana = Image.open(img_path)
size = [min(*device.size)] * 2
size = [min(*device.size)] * 3
posn = ((device.width - size[0]) // 2, device.height - size[1])
while True: