init
Dependencies: MPU6050 PinDetect circular_buffer
Diff: CaseFSM/include/PhoneUndetected.h
- Revision:
- 0:b416214256cd
diff -r 000000000000 -r b416214256cd CaseFSM/include/PhoneUndetected.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CaseFSM/include/PhoneUndetected.h Tue Nov 07 16:35:14 2017 +0000 @@ -0,0 +1,18 @@ +#ifndef CASEFSM_PHONEUNDETECTED_H_ +#define CASEFSM_PHONEUNDETECTED_H_ + +#include <CaseState.h> + +class CaseFsmStates; + +class PhoneUndetected : public CaseState { + public: + PhoneUndetected(CaseFsmStates& states, Timer& timer); + CaseState* handle(SwitchPosition& event); + + private: + unsigned timeForLongPress_; + +}; + +#endif /* ifndef CASEFSM_PHONEUNDETECTED_H_ */