Hi everyone

I just started to make a new project to send DMX with my teensy LC.
I opened the first example of DMXSimple, but I'ts not working
There's my code :

Code:
#include <DmxSimple.h>

void setup() 
  {
  DmxSimple.usePin(2);
  Serial.begin(115200);
  // DmxSimple.maxChannel(4);
}

void loop() 
  {
  int brightness;
  for (brightness = 0; brightness <= 255; brightness++) 
    {
    Serial.println(brightness);
    // DmxSimple.write(1, brightness);
    delay(10);
    }
  }
These lines works fine, but when I add the
Code:
DmxSimple.write(1, brightness);
to the program, windows tells me that the USB material haven't worked correctly.

anybody has an idea ?

Thanks !