#include < Wire.h >
#include < MPU6050.h >
#define TRIGGER_PIN_LEFT 5
#define ECHO_PIN_LEFT 4
#define TRIGGER_PIN_RIGHT 3
#define ECHO_PIN_RIGHT 2
String str;
const char separator = ',';
const int dataLength = 10;
int data[dataLength];
int registro[dataLength] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
int distancia_izquierda = 0;
int distancia_derecha = 0;
int habilitado;
int girocalculado = 0;
MPU6050 mpu;
float rotacionX;