 // include the library code:
 #include <Streaming.h> // <<-style printing
 #include <Metro.h> // timers
-#include <EEPROM.h> // saving and loading radio and menu settings
+
+// the glue
+#include <Simon_Common.h> // sizes, indexing and comms common to Towers and Console
+
+// radio
+#include <SPI.h> // radio board is a SPI device
 #include <avr/eeprom.h> // eeprom block r/w
-#include <SPI.h> // radio board is a SPI device
 #include <RFM69.h> // RFM12b radio transmitter module
-
-#include <Simon_Common.h> // sizes, indexing and comms common to Towers and Console
 
 // LCD
 #include <Wire.h>
 #include <Adafruit_MCP23017.h>
 #include <Adafruit_RGBLCDShield.h>
-//#include <LiquidCrystal_I2C.h>
-//#include <buttons.h>
+#include <EEPROM.h> // saving and loading radio and menu settings
 #include <MENWIZ.h>
 
 // this is where the lights and fire instructions from Console are placed

  }
  
  // toggle light and fire
  switch(controlIndex) {
    case 0: // red
      tInst.lightLevel[I_RED] = val;
      tInst.fireLevel[I_RED] = val;


// add global variables to bind to menu
boolean buttonPressed = false;
int towerLightIndex, towerFireIndex, towerFireMin, towerFireMax;
int testLightLevel, testFireLevel;

#define FIRE_MIN 10
#define FIRE_MAX 1000
#define FIRE_STEP 10

#define LEVEL_MIN 0
#define LEVEL_MAX 10
#define LEVEL_STEP 1

#define INTERACTIVE_TIMEOUT 3000

// force overwrite of EEPROM.  useful for bootstrapping new Moteinos.
#define WRITE_EEPROM_NOW false

// radio pins
#define D_CS_PIN 10 // default SS pin for RFM module
