kinect受信用ライブラリ
Diff: kinectRX.h
- Revision:
- 0:cb6fcdae7ecf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kinectRX.h Tue Aug 28 04:43:00 2018 +0000 @@ -0,0 +1,23 @@ +#ifndef MBED_KINECTRX_H +#define MBED_KINECTRX_H + +#include "mbed.h" +#include "FEP.h" +#include "cstdint" +#include "pin_config.h" + +class KinectRX{ +public: + KinectRX(); + void receive_data(); + int get_mode(); + int get_distance(); + +private: + char data[5]; + FEP fep; + int count; + uint8_t temp,len; +}; + +#endif