  ** ----------------------
  ** 
  ** This Sketch turns a Teensy 3.1, 3.2 or later into a controller for WS2811/WS2812 based led strips.
- ** This strip controller was originally designed supported by the Direct Output Framework, but since 
+ ** This strip controller was originally designed for use with the Direct Output Framework, but since 
  ** the communication protocol is simple and communication uses the virtual com port of the Teensy
  ** it should be easy to controll the strips from other applications as well.
  ** 

  leds.begin();
  leds.show();

}

//Main loop of the programm gets called again and again.

//Definiton of Major and Minor part of the firmware version. This value can be received using the V command.
//If something is changed in the code the number should be increased.
#define FirmwareVersionMajor 1
#define FirmwareVersionMinor 2

//Defines the max number of leds which is allowed per ledstrip.
//This number is fine for Teensy 3.2, 3.1. For newer Teensy versions (they dont exists yet) it might be possible to increase this number.
#define MaxLedsPerStrip 1100

//Defines the Pinnumber to which the built in led of the Teensy is connected.
//For Teensy 3.2, 3.1 this is pin 13, if you use a newer Teensy version (not available at the time of writing) you might need to change this number.
#define LedPin 13


//Memory buffers for the OctoWS2811 lib
DMAMEM int displayMemory[MaxLedsPerStrip*6];
int drawingMemory[MaxLedsPerStrip*6];

//Variable used to control the blinking and flickering of the led of the Teensy
elapsedMillis BlinkTimer;
int BlinkMode;
elapsedMillis BlinkModeTimeoutTimer;

//Config definition for the OctoWS2811 lib
const int config = WS2811_RGB | WS2811_800kHz; //Dont change the color order (even if your strip are GRB). DOF takes care of this issue (see config of ledstrip toy)
