 
 // MODE VARIABLES ////////////////////////////////////
 
+enum Mode {
+  dual,
+  quad,
+  octo,
+  diag
+};
+Mode currentMode;
+
 bool dualModeReady = false;
 bool quadModeReady = false;
 bool octoModeReady = false;

  
}


void clear_mode() {
  dualModeReady = false;

MCP_CAN CAN(SPI_CS_PIN); 

void setup() {
  
  currentMode = octo;

  pinMode(LED_PIN, OUTPUT);
  pinMode(MODE_PIN, INPUT_PULLUP);
