d837134db5
- New Storyboard class now has execution logic included - Implemented dummy storyboard for testing - Language selection is a state in Statemachine - Added test class for instantiating a Statemachine
12 lines
326 B
Python
12 lines
326 B
Python
import sys
|
|
import logging
|
|
|
|
logging.basicConfig(level=logging.DEBUG, stream=sys.stdout)
|
|
|
|
from pizzactrl.statemachine import Statemachine
|
|
from pizzactrl.sb_dummy import STORYBOARD
|
|
from pizzactrl.hal_serial import PizzaHAL, rewind, turn_off
|
|
|
|
hal = PizzaHAL()
|
|
sm = Statemachine(hal, STORYBOARD, move=True, loop=False, test=True)
|
|
|