I am trying to make my own LED par light with the Arduino Uno
I am trying to receive the DMX values but I need the Arduino to only receive address 6-10 because I have other lights on the same DMX cable!
Does anyone know if I can set the light fixture address in DMXSerial?
After some reading I think that this is what I need
analogWrite(RedPin, DMXSerial.read(1));
analogWrite(GreenPin, DMXSerial.read(2));
analogWrite(BluePin, DMXSerial.read(3));
I think that I would change this to
analogWrite(RedPin, DMXSerial.read(6));
analogWrite(GreenPin, DMXSerial.read(7));
analogWrite(BluePin, DMXSerial.read(8));
analogWrite(WhitePin, DMXSerial.read(9));
analogWrite(MicroPin, DMXSerial.read(10));
I think that DMXSerial.read(6)) is the first DMX channel that the code receives then the next and so on! I am not home yet to try it but as soon as I am I will unless someone knows that this is wrong?