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