Go Down

Topic: Why does this program have flashing red LED ?? (Read 1 time) previous topic - next topic


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?
The art of getting good answers lies in asking good questions.



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

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131