ロボカップJrのブロック大会2015で使用したプログラム
Dependencies: BurstSPI LSM9DS0 PID PWMMotorDriver SDFileSystem mbed
Diff: xbeeAPI.h
- Revision:
- 0:ab144c574081
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xbeeAPI.h Wed May 11 09:39:07 2016 +0000 @@ -0,0 +1,18 @@ +#ifndef _XBEE_API +#define _XBEE_API + + +/*--- データフレーム用クラス ---*/ +class xbeeAPI { +public: + uint8_t address[8]; + uint8_t direction; + uint8_t turning; + void reset() { + for (int i=0; i<8; i++) address[i]=0; + direction = 0; + turning = 0; + } +}; + +#endif