Main Program
Dependencies: mbed AQM1602 HMC6352 PID
Diff: setting/def.h
- Revision:
- 28:8ac6c3c1e643
- Parent:
- 27:769cb5a7ea37
- Child:
- 29:b413b0bb07a1
diff -r 769cb5a7ea37 -r 8ac6c3c1e643 setting/def.h --- a/setting/def.h Sun Jan 31 15:46:19 2016 +0000 +++ b/setting/def.h Mon Feb 01 02:05:44 2016 +0000 @@ -59,7 +59,7 @@ #define C_SPOT 2 #define AB_SPOT 3 -#define LINE_RF 10 +#define LINE_RF 5 #define RELEASE_VAL 150 //思考パターン @@ -89,6 +89,8 @@ //motor int32_t motorlog[2]; uint8_t MotorFlag; + double s_pow; + double l_pow; //cmps&pid uint8_t PidFlag; double cmps, CmpsInitialValue, CmpsDiff, FrontDeg;//0<x<360