init
Dependencies: MPU6050 PinDetect circular_buffer
CaseFSM/DeviceEmpty.cpp@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 | #include <DeviceEmpty.h> |
OsmanKameric | 0:b416214256cd | 2 | #include <CaseEvents.h> |
OsmanKameric | 0:b416214256cd | 3 | #include <CaseFsm.h> |
OsmanKameric | 0:b416214256cd | 4 | |
OsmanKameric | 0:b416214256cd | 5 | DeviceEmpty::DeviceEmpty(CaseFsmStates& states, Timer& timer): CaseState(states, timer) |
OsmanKameric | 0:b416214256cd | 6 | { |
OsmanKameric | 0:b416214256cd | 7 | |
OsmanKameric | 0:b416214256cd | 8 | |
OsmanKameric | 0:b416214256cd | 9 | } |
OsmanKameric | 0:b416214256cd | 10 | |
OsmanKameric | 0:b416214256cd | 11 | CaseState* DeviceEmpty::handle(SwitchPosition& event) |
OsmanKameric | 0:b416214256cd | 12 | { |
OsmanKameric | 0:b416214256cd | 13 | printf("Odoh u DEVICE FULL STATE\r\n"); |
OsmanKameric | 0:b416214256cd | 14 | |
OsmanKameric | 0:b416214256cd | 15 | return states_.deviceFullState(); |
OsmanKameric | 0:b416214256cd | 16 | } |
OsmanKameric | 0:b416214256cd | 17 | |
OsmanKameric | 0:b416214256cd | 18 |