Update panda output code to be a touch more sane
[SugarCubes.git] / _Mappings.pde
index 00e9b2c80f8a8175103f6e0dc22a6725b0be9bb4..56be1b13008bce5587dd115ff0c7d511d5e88782 100644 (file)
@@ -168,6 +168,12 @@ class PandaMapping {
   // How many cubes per channel xc_PB is configured for
   public final static int CUBES_PER_CHANNEL = 4;
   
+  // How many total pixels on each channel
+  public final static int PIXELS_PER_CHANNEL = Cube.POINTS_PER_CUBE * CUBES_PER_CHANNEL;
+  
+  // How many total pixels on the whole board
+  public final static int PIXELS_PER_BOARD = PIXELS_PER_CHANNEL * CHANNELS_PER_BOARD;
+  
   final String ip;
   final int[][] channelList = new int[CHANNELS_PER_BOARD][CUBES_PER_CHANNEL];