Add python led programs

This commit is contained in:
siinus
2020-11-08 01:47:25 +02:00
parent 1fc4303ae2
commit 103a5c9252
11 changed files with 3586 additions and 0 deletions

17
pyleds/lib/Program.py Normal file
View File

@@ -0,0 +1,17 @@
from lib.Litsimaja import Litsimaja
from lib.LoopSwitch import LoopSwitch
class Program:
_lm: Litsimaja
_loop: LoopSwitch
def __init__(self, lm: Litsimaja):
self._lm = lm
self._loop = LoopSwitch()
def get_loop(self):
return self._loop
def run(self, args: [] = None):
pass