   double battery_voltage;
 };
 
-typedef enum : uint8_t
-{
-  GYRO_PREC_250 = 0,
-  GYRO_PREC_500,
-  GYRO_PREC_1000,
-  GYRO_PREC_2000
-} gyro_precision_e;
-typedef enum : uint8_t
-{
-  ACCEL_PREC_2 = 0,
-  ACCEL_PREC_4,
-  ACCEL_PREC_8,
-  ACCEL_PREC_16
-} accel_precision_e;
-
 
 
 TransmissionStruct packet;

#include "printf.h"
#define DEBOUNCE_CONSTANT 10
#define BUFFER_SIZE 128

#include <SPI.h>
#include "RF24.h"
#include <Wire.h>


int battery_pin = A1;

int dbLS = 0;
int dbC = 0;

// the setup routine runs once when you press reset:
void setup() {
  // initialize serial communication at 9600 bits per second:
  Serial.begin(9600);

  pinMode(button_left, INPUT);
  pinMode(button_right, INPUT);
