diff --git a/Processing/Adalight/Adalight.pde b/Processing/Adalight/Adalight.pde index f129771..d22763b 100644 --- a/Processing/Adalight/Adalight.pde +++ b/Processing/Adalight/Adalight.pde @@ -103,6 +103,7 @@ short[][] ledColor = new short[leds.length][3], prevColor = new short[leds.length][3]; byte[][] gamma = new byte[256][3]; int nDisplays = displays.length; +Robot[] bot = new Robot[displays.length]; Rectangle[] dispBounds = new Rectangle[displays.length]; int[][] screenData = new int[displays.length][], pixelOffset = new int[leds.length][256]; @@ -111,7 +112,6 @@ Serial port; GraphicsDevice[] gd; DisposeHandler dh; // For disabling LEDs on exit - // INITIALIZATION ------------------------------------------------------------ void setup() { @@ -142,6 +142,13 @@ void setup() { if(nDisplays > gd.length) nDisplays = gd.length; totalWidth = maxHeight = 0; for(d=0; d