 const uint16_t dispLeft = (dispRight<<8);
 const uint8_t charsL [16] = {0b1000000,0b1111001,0b0100100,0b0110000,0b0011001,0b0010010,0b0000010,0b1111000,0b0000000,0b0010000,0b0001000,0b0000011,0b1000110,0b0100001,0b0000110,0b0001110};  //Contains the constants for the 7seg values
 const uint8_t nothingL = 0b1111111;
+const uint8_t errorL = 0b0110110;
 
 enum MasterStates {
   POLLING,

//Create program-wide objects
SoftwareSerial PCComm(11,10);  //Rx, Tx

I2cDiscreteIoExpander device(0);
I2cDiscreteIoExpander device2(1);

Timer t;  //Instantiate timer

class Display {
	public:
		Display();
		uint16_t current;
		uint16_t left;
		uint16_t right;

	
	i = ++i%10;
	
	configureToWrite(disp.left, LEFT, 'F' , 'F');
	configureToWrite(disp.right, RIGHT, '3', i + 48);
	configureToWrite(disp2.left, LEFT, 'f' , 'F');
	configureToWrite(disp2.right, RIGHT, '3', i + 48);
  }
  
  switch(CurrentState) {
    case DISPLEFT:
	  disp.dispLeft();
	  disp2.dispLeft();
      CurrentState = DISPRIGHT;
      break;
    case DISPRIGHT:
	  disp.dispRight();
	  disp2.dispRight();
      CurrentState = DISPLEFT;
      break;
  }
  
  
  status = disp.device->digitalWrite(disp.current);
  status2 = disp2.device->digitalWrite(disp.current);
  
  
  /*
