Last active
July 7, 2019 14:57
-
-
Save dheeptuck/d7e639f6e00cdb577337a2db25cc903f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stStmRow stStm = { | |
{stateIdle , EVT_BUTTON_PRESSED, stateCrushBean }, | |
{stateCrushBean, EVT_BEAN_CRUSHED , stateHeatMilk }, | |
{stateCrushBean, EVT_NO_BEAN , stateError }, | |
{stateHeatMilk , EVT_MILK_HEATED , stateMixWater }, | |
{stateHeatMilk , EVT_NO_MILK , stateError }, | |
{stateMixWater , EVT_WATER_MIXED , stateDispenseCofee}, | |
{stateMixWater , EVT_NO_WATER , stateError } | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment