init
Dependencies: MPU6050 PinDetect circular_buffer
Diff: CaseFSM/CaseState.cpp
- Revision:
- 0:b416214256cd
diff -r 000000000000 -r b416214256cd CaseFSM/CaseState.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CaseFSM/CaseState.cpp Tue Nov 07 16:35:14 2017 +0000 @@ -0,0 +1,10 @@ +#include <CaseFsm.h> +#include <CaseState.h> + +CaseState::CaseState(CaseFsmStates& states,Timer& timer): states_(states),stateTimer_(timer){} + +CaseState* CaseState::handle(SwitchPosition& event) { return states_.currentState(); } +CaseState* CaseState::handle(RFIDEvent& event) { return states_.currentState(); } +CaseState* CaseState::handle(TimerEnd& event) { return states_.currentState(); } + +