self-balancing-robot
Dependencies: mbed mbed-rtos Motor
Diff: main.cpp
- Revision:
- 21:949558e7a48c
- Parent:
- 20:6b5f83412413
- Child:
- 22:bb9b9d3b45d8
diff -r 6b5f83412413 -r 949558e7a48c main.cpp --- 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);