Dependencies: BLE_API mbed nRF51822
Fork of nRF51822_SimpleChat by
ProcessInterface.hpp
- Committer:
- carbune92
- Date:
- 2017-05-08
- Revision:
- 3:b6e4e5529a52
- Child:
- 6:832162614a19
File content as of revision 3:b6e4e5529a52:
#ifndef _ProcessInterface_H_ #define _ProcessInterface_H_ //#include "ble/BLE.h" #include "Controller.hpp" #include "BTDevice.hpp" static AnalogIn input(P0_4); class ProcessInterface{ public: ProcessInterface(); void getProcOutput(); void attachController(Controller *); void attachBTDevice(BTDevice *); void exportOutput(); void updateCmd(); void updateCmd(float); void applyCmd(); ~ProcessInterface(); private: Controller *Ctrl; BTDevice *Btd; float Output; float cmd; }; #endif