![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
code for the speed robot
Dependencies: MPU6050-DMP mbed PololuQTRSensors vl53l0x
Diff: _var.h
- Revision:
- 1:b188e27eb7da
- Parent:
- 0:c3a27228c31b
- Child:
- 3:9b2f15b0d47b
diff -r c3a27228c31b -r b188e27eb7da _var.h --- a/_var.h Mon Sep 30 08:00:47 2019 +0000 +++ b/_var.h Mon Sep 30 08:43:34 2019 +0000 @@ -1,4 +1,7 @@ I2C i2c(PB_9,PB_8); +Timer t; +VL53L0X sensorFront(&i2c,&t); +float frontDistance; // Gyro Variables MPU6050 mpu;