![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
code for the speed robot
Dependencies: MPU6050-DMP mbed PololuQTRSensors vl53l0x
Diff: _var.h
- Revision:
- 7:fd80a0d11658
- Parent:
- 3:9b2f15b0d47b
--- a/_var.h Mon Sep 30 11:16:12 2019 +0000 +++ b/_var.h Mon Sep 30 13:16:04 2019 +0000 @@ -13,11 +13,11 @@ volatile bool mpuInterrupt = false; unsigned long savedMillis; bool gyroTurnMode = false; -float zAngle = 0; -float xAngle = 0; -float preZAngle = 0; -float preXAngle = 0; -float startAngle = 0; +int zAngle = 0; +int xAngle = 0; +int preZAngle = 0; +int preXAngle = 0; +int startAngle = 0; unsigned long preGyroMillis = 0; // MPU control/status vars