@@ -0,0 +1,1376 @@
+ package com.haxademic.core.hardware.dmx.fixtures;%0A%0Aimport com.haxademic.core.hardware.dmx.DMXFixture;%0Aimport com.haxademic.core.hardware.dmx.DMXUniverse;%0A%0Apublic class DMXFixtureBsyun%0Aextends DMXFixture %7B%0A%0A%09public DMXFixtureBsyun(int dmxChannel) %7B%0A%09%09this(DMXUniverse.instance(), dmxChannel, DMXMode.RGB);%09// default mode requires calling %60DMXUniverse.instanceInit()%60 on app init to use the singleton%0A%09%7D%0A%09%09%0A%09public DMXFixtureBsyun(DMXUniverse universe, int dmxChannel, DMXMode mode) %7B%0A%09%09super(universe, dmxChannel, mode);%0A%09%7D%0A%09%0A%09public void update() %7B%0A%09%09color.update();%0A%09%09%0A%09%09// send dmx signals%0A%09%09if(this.universe == null) return;%0A%09%09%0A%09%09// 7-channel DMX mode%0A%09%09this.universe.setValue(dmxChannel + 0, 255);%09%09// channel 1 = RGB brightness for channel 2-4%0A%09%09this.universe.setValue(dmxChannel + 1, colorR());%09// channel 2 = R%0A%09%09this.universe.setValue(dmxChannel + 2, colorG());%09// channel 3 = G%0A%09%09this.universe.setValue(dmxChannel + 3, colorB());%09// channel 4 = B%0A%09%09this.universe.setValue(dmxChannel + 4, 0);%09%09%09// channel 5 = %5B0-7%5D - no strobe, %5B8-255%5D - Ascending strobe amplitude%0A%09%09this.universe.setValue(dmxChannel + 5, 0);%09%09%09// channel 6 = %5B0-10%5D - manual control, %5B11-60%5D - Color combo, %5B61-110%5D - gradual fade, %5B161-210%5D - Color jump, %5B211-255%5D - sound activated mode %0A%09%09this.universe.setValue(dmxChannel + 6, 0);%09%09%09// channel 7 = color combination (for automated modes)%0A%09%7D%0A%7D%0A

Create DMXFixtureBsyun.java