4-Axisと同じラインセンサのライブラリ
Dependents: 00_yotsuba 10_motor-test 00_yotsuba 200_yotsuba_21
Diff: line.cpp
- Revision:
- 1:2d25db124969
- Parent:
- 0:058a2a20c0d1
- Child:
- 2:fb0d0bb8fc5b
diff -r 058a2a20c0d1 -r 2d25db124969 line.cpp --- a/line.cpp Mon Jan 27 09:14:17 2020 +0000 +++ b/line.cpp Thu Mar 04 11:57:42 2021 +0000 @@ -23,7 +23,7 @@ linevalue = 3300 * linesensor.read(); if(linevalue > lineborder) judgvalue = true; else judgvalue = false; - thread.wait(1.0); + thread_sleep_for(1000); } }