init
Dependencies: MPU6050 PinDetect circular_buffer
Diff: CaseFSM/PhoneDetected.cpp
- Revision:
- 0:b416214256cd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CaseFSM/PhoneDetected.cpp Tue Nov 07 16:35:14 2017 +0000 @@ -0,0 +1,20 @@ +#include <PhoneDetected.h> +#include <DeviceEmpty.h> +#include <CaseEvents.h> +#include <CaseFsm.h> + +PhoneDetected::PhoneDetected(CaseFsmStates& states, Timer& timer): CaseState(states,timer) +{ + + +} + +CaseState* PhoneDetected::handle(SwitchPosition& event) +{ + + printf("Odoh u DEVICE EMPTY STATE\r\n"); + return states_.deviceEmptyState(); +} + + +