   digitalWriteFast(batteryLed, LOW);
   
   // Define/set debounce intervalls here to suit your buttons
-  
+  // Remember to adjust the amount of these if you have
+  // more or less buttons.
   debouncer3.attach(3);  debouncer3.interval(5);
   debouncer4.attach(4);  debouncer4.interval(5);
   debouncer5.attach(5);  debouncer5.interval(5);

/* Base (connected with USB to a PC)
   for wireless bluetooth button/shifter system using
   two Teensy 3.2 microcontrollers and 2 HC-05 bluetooth modules.

   Pinout for this unit on the wheel itself:   
   0 serial rx
   1 serial tx
   2 bluetooth status
    
   13  Teensy's own led
   14 
   15
   16
   17
   18
   19
   20
   21/A7 Battery_low_led
   22 Connection_led
   23 Battery voltage adc
*/

#define btStatus 2
#define teensyLed 13
#define batteryLed 21 

  analogReadRes(12);
  analogReadAveraging(5);
  analogReference(INTERNAL);

  // By default, all pins are inputs.
  // Unused inputs in an electrically noisy environment will consume many 
  // mA of power. This is because their voltage floats to a value which makes the input state
  // switch, and all switching of digital circuitry consumes power.
  // Please be double sure that you have not connected anything to these pins,
  // as errors here might fry you Teensy.

  #ifdef POWERSAVING_WITH_PINS_AS_OUTPUTS
  // list your unused digital pins here
  pinMode(14, OUTPUT);
  pinMode(15, OUTPUT);
  pinMode(16, OUTPUT);
  pinMode(17, OUTPUT);
  pinMode(18, OUTPUT);
  pinMode(19, OUTPUT);
  pinMode(20, OUTPUT);
  pinMode(24, OUTPUT);
  pinMode(25, OUTPUT);
  pinMode(26, OUTPUT);
  pinMode(27, OUTPUT);
  pinMode(28, OUTPUT);
  pinMode(29, OUTPUT);
  pinMode(30, OUTPUT);
  pinMode(31, OUTPUT);
  pinMode(32, OUTPUT);
  pinMode(33, OUTPUT);
  #endif
}

