Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 1:752025c69f32
- Parent:
- 0:0dbcf2958540
diff -r 0dbcf2958540 -r 752025c69f32 main.cpp --- 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++;