![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
init
Dependencies: MPU6050 PinDetect circular_buffer
Diff: MotionFSM/include/Moving.h
- Revision:
- 0:b416214256cd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MotionFSM/include/Moving.h Tue Nov 07 16:35:14 2017 +0000 @@ -0,0 +1,17 @@ +#ifndef FSM_MOVING_H_ +#define FSM_MOVING_H_ + +#include <State.h> +struct Stop; +class FsmStates; + +class Moving : public State { + public: + Moving(FsmStates& states, Timer& timer); + State* handle(Stop& event); + + private: + unsigned timeForLongPress_; +}; + +#endif /* ifndef FSM_CONNECTED_TRANSIOTION_H_ */