init

Dependencies:   MPU6050 PinDetect circular_buffer

Committer:
OsmanKameric
Date:
Tue Nov 07 16:35:14 2017 +0000
Revision:
0:b416214256cd
FIRST

Who changed what in which revision?

UserRevisionLine numberNew contents of line
OsmanKameric 0:b416214256cd 1 #ifndef CASEFSM_PHONEDETECTED_H_
OsmanKameric 0:b416214256cd 2 #define CASEFSM_PHONEDETECTED_H_
OsmanKameric 0:b416214256cd 3
OsmanKameric 0:b416214256cd 4 #include <CaseState.h>
OsmanKameric 0:b416214256cd 5
OsmanKameric 0:b416214256cd 6 class CaseFsmStates;
OsmanKameric 0:b416214256cd 7
OsmanKameric 0:b416214256cd 8 class PhoneDetected : public CaseState {
OsmanKameric 0:b416214256cd 9 public:
OsmanKameric 0:b416214256cd 10 PhoneDetected(CaseFsmStates& states, Timer& timer);
OsmanKameric 0:b416214256cd 11 CaseState* handle(SwitchPosition& event);
OsmanKameric 0:b416214256cd 12
OsmanKameric 0:b416214256cd 13 private:
OsmanKameric 0:b416214256cd 14 unsigned timeForLongPress_;
OsmanKameric 0:b416214256cd 15 };
OsmanKameric 0:b416214256cd 16
OsmanKameric 0:b416214256cd 17 #endif /* ifndef CASEFSM_PHONEDETECTED_H_ */