   adc_addr_ = ADC_ADDR;
 }
 
-TI128D818::TI128D818(uint8_t 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() {
-  bool ok = false;
   int delay_time = 33;
-  while (!ok) {
+  while (true) {
     delay(delay_time);
-    Serial.print("Polling ADC for ready state..");
-    int r = read8(0x0C);
+    const int r = read8(0x0C);
     if (r && 0x02) {
-      Serial.print(" not OK yet, state = ");
-      Serial.println(r);
       delay_time *= 1.4;
-    } else {
-      ok = true;
-      Serial.println(" Ready!");
+      continue;
     }
+    break;
   }
 }
 

class TI128D818 {
 public:
  TI128D818();
  TI128D818(uint8_t add_addr);
  bool init(uint8_t adc_mode = 0);
  float temp(uint8_t channel = 0);
 private:
  uint8_t read8(uint8_t addr);
  uint16_t read16(uint8_t addr);
  void write8(uint8_t addr, uint8_t data);
  void pollUntilReady();
  uint8_t adc_addr_;
};

#define SCLPIN 12

// TODO(z2amiller):  Set up interrupts to call back when the temperature
//                   on one of the pins gets too hot.  Needs to be added to
//                   an options class passed to the ADC library.
#define ADC_INT 14

#define ADC_ADDR 0x37
