三浦 颯太
/
MainBoard2019_LineHub_ver2
waaaa
Revision 1:9b6f10b4bc71, committed 2019-11-07
- Comitter:
- M_souta
- Date:
- Thu Nov 07 11:15:29 2019 +0000
- Parent:
- 0:cb29cf2767cd
- Commit message:
- ver2.0.1
Changed in this revision
setup.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r cb29cf2767cd -r 9b6f10b4bc71 setup.h --- a/setup.h Thu Nov 07 11:07:51 2019 +0000 +++ b/setup.h Thu Nov 07 11:15:29 2019 +0000 @@ -15,9 +15,9 @@ #define PORT_2 1 #define PORT_3 1 #define PORT_4 1 -#define PORT_5 1 -#define PORT_6 1 -#define PORT_7 1 +#define PORT_5 0 +#define PORT_6 0 +#define PORT_7 0 //********** pin define **********// #define SELECT1_0 PB_4 @@ -54,7 +54,7 @@ {32,33,34,35,36,37}, {42,43,44,45,36,47}}; -const int sensor_weight[SENSOR_NUM] = { 3, 2, 1,-1,-2,-3}; +const int sensor_weight[SENSOR_NUM] = { 2, 1, 0, 0,-1,-2}; const float THRESHOLD = 0.80f; // 閾値 (しきい値)