+// Code for the TCC White Roofs project.
+// Collects temperatures from DS18B20 sensors. The sensors are arranged in
+// two main daisy chains: one with 8 sensors and one with 9. There is also
+// one extra sensor also.
+// Designed to relay data as CSV over USB Serial to a Pi.
+//
+// Designed by Febrio Lunardo and Ashley Gillman
+//
+// Useful reference:
+// https://arduino-info.wikispaces.com/Brick-Temperature-DS18B20
+
 #include <OneWire.h>
 #include <DallasTemperature.h>
 
-#define DEBUG 1
+#define DEBUG 0 // Useful for gaining sensor addresses, set to 1.
 
 #define BUS_1 2
 #define BUS_2 3


void loop() {
  assignAddresses(); // Unsure why we have to do this every time, but we do
  dallas1.requestTemperatures(); // Update temperatures
  dallas2.requestTemperatures(); // Update temperatures
  
  // Print comma separated temperatures
  for (int i=0; i<N_BUS_1; ++i) {

  
  // end line, wait
  Serial.println();
  delay(15*1000);
}

// print a device address in format that can be copy pasted
// to the definitions at the beginning.
void printAddress(DeviceAddress deviceAddress)
{
  for (uint8_t i = 0; i < 8; i++)
