...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
#include <DmxSimple.h> void setup() { DmxSimple.usePin(11); } void loop() { //The BarLight 1 DmxSimple.write(1, 0); DmxSimple.write(2, 255); DmxSimple.write(3, 255); //The BarLight 2 DmxSimple.write(4, 0); DmxSimple.write(5, 255); DmxSimple.write(6, 255); //The SpotLight 1 DmxSimple.write(7, 255); //Red DmxSimple.write(8, 0); //Green DmxSimple.write(9, 0); //Blue DmxSimple.write(10, 0); //Intensity DmxSimple.write(11, 0); //Color Temperature DmxSimple.write(12, 0); //Strobe Frequency DmxSimple.write(13, 0); //Strobe Duration DmxSimple.write(14, 0); //Strobe Effect //The SpotLight 2 DmxSimple.write(1, 0); //Red DmxSimple.write(16, 255); //Green DmxSimple.write(17, 255); //Blue DmxSimple.write(18, 0); //Intensity DmxSimple.write(19, 0); //Color Temperature DmxSimple.write(20, 0); //Strobe Frequency DmxSimple.write(21, 0); //Strobe Duration DmxSimple.write(22, 0); //Strobe Effect //... delay(10); } |
...