     int sample = 0;
     const unsigned ThrottleSamples = 6;
 
-#if SendThrottleDebug
-    Bluetooth.print('E');
-#endif
-
     for (unsigned i = 0; i < ThrottleSamples; ++i) {
         sample = analogRead(ThrottleSensor1);
-#if SendThrottleDebug
-        Bluetooth.print(sample);
-        Bluetooth.print(',');
-#endif
         throttleIn += sample;
 
     }

    setupBluetooth();
    
    // Connect i2c accelerometer
    setupAccelerometer();

#if AccelerometerIntegration
    // get initial values

    int throttleIn = getThrottleSample();
    byte throttleOut = (byte)((1023 - throttleIn) * 126 / 1023); 

#if SendThrottleDebug
    Bluetooth.print('E');
    Bluetooth.print(throttleIn);
    Bluetooth.print(',');
    Bluetooth.print(1023 - ((int)throttleOut)*8);
    Bluetooth.println();
#endif

    analogWrite(ThrottleOut, throttleOut);
}

