init

Dependencies:   MPU6050 PinDetect circular_buffer

CaseFSM/include/PhoneDetected.h

Committer:
OsmanKameric
Date:
2017-11-07
Revision:
0:b416214256cd

File content as of revision 0:b416214256cd:

#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_ */