![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Self-Balancing bot for MAX32630 and two wheel car.
Dependencies: mbed BMI160 SDFileSystem max32630fthr
Diff: main.cpp
- Revision:
- 9:59add4a4372c
- Parent:
- 8:810396d34da8
- Child:
- 10:71c31197d55a
diff -r 810396d34da8 -r 59add4a4372c main.cpp --- a/main.cpp Wed Jan 25 19:33:27 2017 +0000 +++ b/main.cpp Wed Jan 25 19:43:27 2017 +0000 @@ -367,7 +367,7 @@ } //Average measurements - setPoint = setPoint/3200.0F; + setPoint = setPoint/1600.0F; printf("setPoint = %5.2f\n\n", setPoint); //Clear count for next time offsetCount = 0;