init
Dependencies: MPU6050 PinDetect circular_buffer
MotionFSM/include/Moving.h@0:b416214256cd, 2017-11-07 (annotated)
- Committer:
- OsmanKameric
- Date:
- Tue Nov 07 16:35:14 2017 +0000
- Revision:
- 0:b416214256cd
FIRST
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
OsmanKameric | 0:b416214256cd | 1 | #ifndef FSM_MOVING_H_ |
OsmanKameric | 0:b416214256cd | 2 | #define FSM_MOVING_H_ |
OsmanKameric | 0:b416214256cd | 3 | |
OsmanKameric | 0:b416214256cd | 4 | #include <State.h> |
OsmanKameric | 0:b416214256cd | 5 | struct Stop; |
OsmanKameric | 0:b416214256cd | 6 | class FsmStates; |
OsmanKameric | 0:b416214256cd | 7 | |
OsmanKameric | 0:b416214256cd | 8 | class Moving : public State { |
OsmanKameric | 0:b416214256cd | 9 | public: |
OsmanKameric | 0:b416214256cd | 10 | Moving(FsmStates& states, Timer& timer); |
OsmanKameric | 0:b416214256cd | 11 | State* handle(Stop& 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 FSM_CONNECTED_TRANSIOTION_H_ */ |