init

Dependencies:   MPU6050 PinDetect circular_buffer

Revision:
0:b416214256cd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CaseFSM/include/PhoneDetected.h	Tue Nov 07 16:35:14 2017 +0000
@@ -0,0 +1,17 @@
+#ifndef CASEFSM_PHONEDETECTED_H_
+#define CASEFSM_PHONEDETECTED_H_
+
+#include <CaseState.h>
+
+class CaseFsmStates;
+
+class PhoneDetected : public CaseState {
+  public:
+  PhoneDetected(CaseFsmStates& states, Timer& timer);
+  CaseState* handle(SwitchPosition& event);
+
+  private:
+  unsigned timeForLongPress_;
+};
+
+#endif /* ifndef CASEFSM_PHONEDETECTED_H_ */