code for the speed robot
Dependencies: MPU6050-DMP mbed PololuQTRSensors vl53l0x
Diff: _var.h
- Revision:
- 3:9b2f15b0d47b
- Parent:
- 1:b188e27eb7da
- Child:
- 7:fd80a0d11658
--- a/_var.h Mon Sep 30 08:51:52 2019 +0000 +++ b/_var.h Mon Sep 30 10:19:31 2019 +0000 @@ -1,7 +1,12 @@ I2C i2c(PB_9,PB_8); Timer t; -VL53L0X sensorFront(&i2c,&t); -float frontDistance; + +VL53L0X Sensor3(&i2c,&t); //Right Sensor +VL53L0X Sensor2(&i2c,&t); //Left Sensor +VL53L0X Sensor1(&i2c,&t); //Front Sensor +int right_Distance; +int left_Distance; +int front_Distance; // Gyro Variables MPU6050 mpu;