segway_self balancing robot 4180 project
Dependencies: mbed mbed-rtos LSM9DS1_Library
Revision 8:2332c4a79276, committed 2020-04-18
- Comitter:
- pandirimukund
- Date:
- Sat Apr 18 19:39:10 2020 +0000
- Parent:
- 7:8af26d50c006
- Child:
- 9:28821420f7a4
- Commit message:
- added the wait;
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
}
}
