ジャイロ
Dependents: 00_yotsuba 103_JY901_practice 200_yotsuba_21 200_yotuba_21_uiChange
Diff: jy901.cpp
- Revision:
- 4:0f89370330ff
- Parent:
- 3:1f630a1d7ed1
- Child:
- 5:2397765e5b08
diff -r 1f630a1d7ed1 -r 0f89370330ff jy901.cpp --- a/jy901.cpp Fri Jan 31 09:20:37 2020 +0000 +++ b/jy901.cpp Sat Dec 12 05:05:39 2020 +0000 @@ -31,11 +31,11 @@ void JY901::calibrateAll(int time) { calibrateGyroAccel(); - wait_ms(time); + ThisThread::sleep_for(time); calibrateMagnetic(); - wait_ms(time); + ThisThread::sleep_for(time); calibrateHeight(); - wait_ms(time); + ThisThread::sleep_for(time); endCalibrate(); }