pizzabox-main/pizzactrl/statemachine_test.py

14 lines
370 B
Python
Raw Permalink Normal View History

2022-01-20 23:11:35 +00:00
import imp
import sys
import logging
logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)
from pizzactrl.statemachine import Statemachine
2022-01-20 23:11:35 +00:00
# from pizzactrl.sb_dummy import STORYBOARD
from pizzactrl.sb_dummy import STORYBOARD
from pizzactrl.hal_serial import PizzaHAL, rewind, turn_off
hal = PizzaHAL()
sm = Statemachine(hal, STORYBOARD, loop=False, test=False)