PID
Dependencies: BLE_API mbed nRF51822
StateMachine.h
- Committer:
- stoicancristi
- Date:
- 2017-01-12
- Revision:
- 1:d3e12393b71d
File content as of revision 1:d3e12393b71d:
#ifndef _StateMachine_ #define _StateMachine typedef enum { shut_down = 0, safe_state, monitoring, local_control_PID, local_control_RST, remote_control } States; typedef enum { start_advertising = 0, stop_advertising, stop_connection, connected } conn_update; void decode_state_machine(States st, uint8_t buf[20]); void conn_state_machine(uint8_t* buf1, uint8_t* buf2); #endif