Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MPU6050 PinDetect circular_buffer
CaseFSM/include/PhoneUndetected.h
- Committer:
- OsmanKameric
- Date:
- 2017-11-07
- Revision:
- 0:b416214256cd
File content as of revision 0:b416214256cd:
#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_ */