self-balancing-robot

Dependencies:   mbed mbed-rtos Motor

Revision:
21:949558e7a48c
Parent:
20:6b5f83412413
Child:
22:bb9b9d3b45d8
--- a/main.cpp	Thu Apr 23 15:58:39 2020 +0000
+++ b/main.cpp	Thu Apr 23 16:04:14 2020 +0000
@@ -168,12 +168,12 @@
 
 int main() {
     pc.printf("this is running");
-    calibrate_imu();
+    
     Thread bluetooth;
     Thread system_update;
     
     imu.begin();
-    
+    calibrate_imu();
     bluetooth.start(bluetooth_update);
     system_update.start(update_system);