segway_self balancing robot 4180 project

Dependencies:   mbed mbed-rtos LSM9DS1_Library

Revision:
8:2332c4a79276
Parent:
7:8af26d50c006
Child:
9:28821420f7a4
diff -r 8af26d50c006 -r 2332c4a79276 main.cpp
--- a/main.cpp	Sat Apr 18 19:37:27 2020 +0000
+++ b/main.cpp	Sat Apr 18 19:39:10 2020 +0000
@@ -92,6 +92,7 @@
     bluetooth.attach(&bluetooth_update, 0.1);
     while(1) {
         pc.printf("rp: %f, rd: %f, ri: %f, desired_angle: %f", rp, rd, ri, desired_angle);
+        wait(0.1);
     }
 }