   pinMode(BUILTIN_LED, OUTPUT);
   blink(3);
 
-//TODO  startPeripherals();
+  startPeripherals();
 
   // TODO don't do this if wifi config'd and connected
   startAP();

    monitorCursor = 0;
}
void postSensorData(monitor_t *monitorData) {
  // create a JSON form and ping 
  // 192.168.1.151:5984
  Serial.println("postSensorData");

  if(googleClient.connect(googleServer, 80)) {
    Serial.println("connected to google server");
    googleClient.stop();
  } 
  if(couchClient.connect(couchServer, 5984)) {
    Serial.println("connected to server");
    couchClient.println("POST /fishydata HTTP/1.1");
    couchClient.println("Content-Type: application/json");
    couchClient.println("Connection: close");
    couchClient.println();
    couchClient.println("{ \"key\": \"value\" }");
  } else {
    Serial.println("no couch server");
  }

  couchClient.stop();
  return;
}
void printMonitorEntry(monitor_t m, String* buf) {
  buf->concat("timestamp: ");
  buf->concat(m.timestamp);
  if(GOT_TEMP_SENSOR){
  buf->concat(", Water Temp: ");
  buf->concat(m.waterCelsius);
  buf->concat(" °C");
  }
  if(GOT_HUMID_SENSOR){  
  buf->concat(", Air Temp: ");
  buf->concat(m.airCelsius);
  buf->concat(" °C"); 
  buf->concat(", Humidity: ");
  buf->concat(m.airHumid);
  buf->concat(" %RH");
  }
  if(GOT_LIGHT_SENSOR){
  buf->concat(", Light: ");
  buf->concat(m.lux);
  buf->concat(" lux");
  }
}
void getTemperature(float* waterCelsius) {

  tsl.begin();    // Start the light sensor
  }
}
void updateSensorData(monitor_t *monitorData) {
  // Serial.print("monitorCursor = "); Serial.print(monitorCursor);
  // Serial.print(" monitorSize = ");  Serial.println(monitorSize);
