Sweep a servo according to Proximity sensor measure
Dependencies: Servo X_NUCLEO_6180XA1 mbed
Fork of HelloWorld_6180XA1 by
Diff: main.cpp
- Revision:
- 18:6312be3b32d9
- Parent:
- 17:68515d0667af
- Child:
- 19:394c9a4a3046
--- a/main.cpp Wed Oct 28 14:56:58 2015 +0000 +++ b/main.cpp Wed Oct 28 15:06:09 2015 +0000 @@ -1,6 +1,5 @@ #include "mbed.h" #include "x_nucleo_6180xa1.h" -#include "HmiBBGesture.h" #include <string.h> #include <stdlib.h> #include <stdio.h> @@ -40,8 +39,6 @@ DevI2C device_i2c(VL6180X_I2C_SDA, VL6180X_I2C_SCL); static X_NUCLEO_6180XA1 *board=X_NUCLEO_6180XA1::Instance(&device_i2c); -//HmiBBGesture gesture_reco; - MeasureData_t data_sensor_top, data_sensor_bottom, data_sensor_left, data_sensor_right; /* flags that handle interrupt request */