@@ -0,0 +1,768 @@
+package com.haxademic.demo.hardware.dmx;%0A%0Aimport com.haxademic.core.app.P;%0Aimport com.haxademic.core.app.PAppletHax;%0Aimport com.haxademic.core.hardware.dmx.DMXWrapper;%0A%0Apublic class Demo_DmxWrapper_TwoDevices%0Aextends PAppletHax %7B%0A%09public static void main(String args%5B%5D) %7B PAppletHax.main(Thread.currentThread().getStackTrace()%5B1%5D.getClassName()); %7D%0A%09%0A%09protected DMXWrapper dmx1;%0A%09protected DMXWrapper dmx2;%0A%09%0A%09public void setupFirstFrame() %7B%0A%09%09dmx1 = new DMXWrapper(%22COM3%22, 9600);%0A%09%09dmx2 = new DMXWrapper(%22COM6%22, 9600);%0A%09%7D%0A%0A%09public void drawApp() %7B%0A%09%09background(0);%0A%09%09for (int i = 0; i %3C 512; i++) %7B%0A%09%09%09dmx1.setValue(i+1, P.round(127 + 127 * P.sin(p.frameCount * 0.01f + i)));%0A%09%09%09dmx2.setValue(i+1, P.round(127 + 127 * P.sin(p.frameCount * 0.05f + i)));%0A%09%09%7D%0A%09%7D%0A%7D%0A%0A%0A%0A%0A%0A

Create Demo_DmxWrapper_TwoDevices.java