 
 
 
+
+


boolean verbose = false;

/* ========== SETUP ========== */
void setup(void) 
{
PCA9548A_70.setup (PCA9548A_SLAVE_ADDR_0, Wire1, (char*)"Wire1");
PCA9548A_70.begin (I2C_PINS_29_30, I2C_RATE_100);
PCA9548A_70.init ();

/**
TMP102 on board SALT has same address as TMP275 0 so don't use that
*/

Mux0Temp1.setup (TMP275_SLAVE_ADDR_1, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux0Temp1.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux0Temp1.init (TMP275_CFG_RES12);

Mux0Temp2.setup (TMP275_SLAVE_ADDR_2, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux0Temp2.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux0Temp2.init (TMP275_CFG_RES12);

Mux0Temp3.setup (TMP275_SLAVE_ADDR_3, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux0Temp3.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux0Temp3.init (TMP275_CFG_RES12);

Mux0Temp4.setup (TMP275_SLAVE_ADDR_4, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux0Temp4.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux0Temp4.init (TMP275_CFG_RES12);

Mux0Temp5.setup (TMP275_SLAVE_ADDR_5, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux0Temp5.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux0Temp5.init (TMP275_CFG_RES12);

Mux0Temp6.setup (TMP275_SLAVE_ADDR_6, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux0Temp6.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux0Temp6.init (TMP275_CFG_RES12);

Mux0Temp7.setup (TMP275_SLAVE_ADDR_7, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux0Temp7.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux0Temp7.init (TMP275_CFG_RES12);


Mux1Temp1.setup (TMP275_SLAVE_ADDR_1, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux1Temp1.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux1Temp1.init (TMP275_CFG_RES12);

Mux2Temp1.setup (TMP275_SLAVE_ADDR_1, Wire1, (char*)"Wire1");	// initialize this sensor instance
Mux2Temp1.begin (I2C_PINS_29_30, I2C_RATE_100);
Mux2Temp1.init (TMP275_CFG_RES12);

  uint8_t iter = 0;

  uint8_t stat = 0;

  pinMode(LED_BUILTIN,OUTPUT);    // LED

  
  Serial.begin(115200);     // use max baud rate
  // Teensy3 doesn't reset with Serial Monitor as do Teensy2/++2, or wait for Serial Monitor window
  // Wait here for 10 seconds to see if we will use Serial Monitor, so output is not lost

      case 'v':
      case 'V':
        verbose = true;
        break;

      // TODO allow entering m Some message
      // which will then log that message. 
      // Useful for adding comments about the test in progress
      case 'm':
      case 'M':
        break;

#if defined I2C_T3_H 
