mech / Mbed OS line-trace

Files at this revision

API Documentation at this revision

Comitter:
isshikiyuya
Date:
Sat Nov 24 17:57:44 2018 +0000
Parent:
0:0dbcf2958540
Commit message:
a

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sat Nov 17 06:17:42 2018 +0000
+++ b/main.cpp	Sat Nov 24 17:57:44 2018 +0000
@@ -11,11 +11,11 @@
 InterruptIn button2(A2);    //フォトインタラプタ
 AnalogIn   in1(A3);         //フォトリフレクタ左?要確認
 AnalogIn   in2(A4);         //フォトリフレクタ真ん中
-AnalogIn   in3(A5);         //フォトリフレクタ右?要確認
+AnalogIn   in3(A6);         //フォトリフレクタ右?要確認
 
-float thr1 = 0.7f;
-float thr2 = 0.7f;
-float thr3 = 0.5f;
+float thr1 = 0.25f;
+float thr2 = 0.25f;
+float thr3 = 0.25f;
 
 void flip1() {
     count1++;