今までのジョイスティックの入力を段階分けしていた方式から、アナログ値をできる限りそのまま使用する方式に変更しました。
Fork of ControlMain2017 by
Diff: ValueProcessor.h
- Branch:
- ?????
- Revision:
- 47:6f84dcf7d1d8
- Parent:
- 46:53eb2ba661c5
- Child:
- 48:2965c51ef540
--- a/ValueProcessor.h Sat May 13 07:31:38 2017 +0000 +++ b/ValueProcessor.h Sat May 13 15:20:43 2017 +0000 @@ -4,7 +4,7 @@ #include "mbed.h" #define PHASE_NUM 15 //奇数にしてください。翼端コードと合わせないといけないのは、この値です -#define ADDITIONALPHASE 4 +#define ADDITIONALPHASE 2 #define SUM_UP_NUM 10.0 class ValueProcess {