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.

Why?

:frowning:

#include <DmxSimple.h>
int brightness;

void setup()
{
}

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

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

Nothing

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.....