       ledStatus = 1;
       digitalWriteFast(teensyLed, HIGH);
     }
+    #endif
   }
 }
 

    if(connectionLedStatus) {
      analogWrite(connectionLed, ledOutputValue);
    } else{
      digitalWriteFast(connectionLed, 0);
    }
    connectionLedStatus = !connectionLedStatus;
  }

   LISTED IN InitialiseIO() FUNCTION. THE AUTHOR(S) TAKE NOT RESPONSIBILITY
   IF YOU MANAGE TO FRY/SHORT OUT A PIN OR YOUR TEENSY MICROCONTROLLER.
   -------------------------------------------------------------------------

   NOTE ABOUT BATTERY VOLTAGE ADC MEASUREMENT
   -------------------------------------------------------------------------
   As typical resistors have 5% or even 10% tolerance, you should
   use a multimeter to measure when the battery voltage starts to indicate
   low voltage by blinkin the led, and then adjust
   BATTERY_LOW_VOLTAGE_THRESHOLD accordingly.

   If you are running on 1-cell LiPO battery, you shouldn't discharge
   it more than 80% of its capacity, leaving 20% capacity in the battery.
   This equals to about 3.75 volts. This is recommended, because deeper 
   discharges will start to reduce overall battery life.

   One way to do your ADC/voltage divider calibration is to set
   the variable to quite high value, for example 3800. Start with a known
   full battery, and see when the low battery voltage measurement triggers.
   Then measure the battery voltage using a multimeter. 
   Then you can use maths like this:
   3600     =   YOUR_MEASURED_VOLTAGE
   X        =   3.75

   X = 3600 * 3.75 / YOUR_MEASURED_VOLTAGE

   This will result in a value for BATTERY_LOW_VOLTAGE_THRESHOLD that should
   work, as ADC is linear. Round up to the next even hundred to be
   extra safe.
   -------------------------------------------------------------------------
*/

// used pin definitions, other than buttons
