ロボカップJrのブロック大会2015で使用したプログラム

Dependencies:   BurstSPI LSM9DS0 PID PWMMotorDriver SDFileSystem mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers xbeeAPI.h Source File

xbeeAPI.h

00001 #ifndef _XBEE_API
00002 #define _XBEE_API
00003 
00004 
00005 /*--- データフレーム用クラス ---*/
00006 class xbeeAPI {
00007 public:
00008     uint8_t address[8];
00009     uint8_t direction;
00010     uint8_t turning;
00011     void reset() {
00012         for (int i=0; i<8; i++)  address[i]=0;
00013         direction = 0;
00014         turning   = 0;
00015     }
00016 };
00017 
00018 #endif