forked from andreeuuetoa/litsimaja
Add python led programs
This commit is contained in:
17
pyleds/lib/Program.py
Normal file
17
pyleds/lib/Program.py
Normal 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
|
||||
Reference in New Issue
Block a user