             (zeroResetCounter < MaxZeroCounter) ? 2 : 0 ;
     else
         zeroResetCounter = (float) zeroResetCounter * 0.4;
-
+#if SendAccelerometerDebug
     Bluetooth.print('E');
     Bluetooth.print(x*1000);
     Bluetooth.print(',');
+#endif
 #if AccelerometerSoftFilter
     lpFilter.input(x);
     x = lpFilter.output();
 #endif
+#if SendAccelerometerDebug
     Bluetooth.print(x*1000);
     Bluetooth.print(',');
+#endif
     return x;
 }
 


// Used for blinking on error
#define StatusLed 13
#define Throttle 9
#define DataReadyIntPin 2

// Bluetooth pins 0, 1, 3V3

    pinMode(StatusLed, OUTPUT);
    digitalWrite(StatusLed, HIGH); // High until setup ends

    pinMode(ThrottleSensor1, INPUT);
    // internal pull-up
    // digitalWrite(ThrottleSensor1, HIGH);
    pinMode(ThrottleOut, OUTPUT);
    analogWrite(ThrottleOut, 128);

    // Connect bluetooth serial
    setupBluetooth();
