   Serial.print("  ch 3 = ");
   Serial.print(adc.temp(0x23));
   Serial.println("");
-  Serial.println("");
   delay(5000);
 } 
-

#define SCLPIN 12

// TODO(z2amiller):  Set up interrupts to call back when the temperature
//                   on one of the pins gets too hot.
#define ADC_INT 14

#define ADC_ADDR 0x37

  adc_addr_ = ADC_ADDR;
}

TI128D818::TI128D818(const uint8_t adc_addr) {
    adc_addr_ = adc_addr;
}

// TODO(z2amiller):  Have a maximum allowed elapsed time?
// TODO(z2amiller):  Can't dump to serial in a library.  #ifdef debug?
void TI128D818::pollUntilReady() {
  int delay_time = 33;
  while (true) {
    delay(delay_time);
    const int r = read8(0x0C);
    if (r && 0x02) {
      delay_time *= 1.4;
      continue;
    }
    break;
  }
}

