ジャパンオープン用のメインプログラム
Dependencies: mbed AQM1602 HMC6352 PID
Diff: setting/def.h
- Revision:
- 28:f246a5fbf6a5
- Parent:
- 27:825c6835e3db
- Child:
- 29:e8bafe48aa90
--- a/setting/def.h Mon Mar 21 17:05:08 2016 +0000 +++ b/setting/def.h Tue Mar 22 03:58:38 2016 +0000 @@ -2,8 +2,8 @@ #define _DEF_H_ //red or green -#define RED_CAT -//#define GREEN_CAT +//#define RED_CAT +#define GREEN_CAT //BT(BlueTooth) #define DATA_NUM 8+2//2byte→KEYCODE(拝啓)とCHECKCODE(敬具) 8byte→やりとりするデータ @@ -200,7 +200,7 @@ #define MD_1CH (1) #define MD_2CH (1) #define MD_3CH (-1) -#define MD_4CH (-1) +#define MD_4CH (1) #endif /*GREEN_CAT*/ @@ -263,6 +263,8 @@ uint8_t irSpot[2];//4*2bit//old //ir(playing) uint8_t irNotice; + uint8_t irLastNotice; + uint8_t irStayNotice; //ball uint8_t ball; } SensorVal;