ジャイロ

Dependents:   00_yotsuba 103_JY901_practice 200_yotsuba_21 200_yotuba_21_uiChange

Revision:
7:9fa716a2100a
Parent:
3:1f630a1d7ed1
Child:
8:a5ce2d3c49ac
--- a/jy901.cpp	Fri Jan 31 09:20:37 2020 +0000
+++ b/jy901.cpp	Thu Mar 04 11:57:19 2021 +0000
@@ -31,11 +31,11 @@
 void JY901::calibrateAll(int time)
 {
     calibrateGyroAccel();
-    wait_ms(time);
+    thread_sleep_for(time);
     calibrateMagnetic();
-    wait_ms(time);
+    thread_sleep_for(time);
     calibrateHeight();
-    wait_ms(time);
+    thread_sleep_for(time);
     endCalibrate();
 }