Why does this program have flashing red LED ??

All i want is to make the thing fade the brightness of the green LED up.

I am getting that plus rapid flashing red LED.



#include <DmxSimple.h>
int brightness;

void setup()

void loop()
for (brightness = 0; brightness <= 255; brightness++)
DmxSimple.write(1, 0);
delay(10); // Wait 10ms

What happens if you remove the " DmxSimple.write(1, 0);" statement?


Still flashes red and fades up the green

If i change the channel to 4, it fades blue and flashes green

the switches at teh back of my can are set to 1…