 	for (i = 0; i < STRINGS; ++i) {
 		strings[i].value = analogRead(strings[i].pin);
 	}
+
+#ifdef DEBUG
+	Serial1.println("done");
+
+	Serial1.println("analog values for air strings:");
+	for (i = 0; i < STRINGS; ++i) {
+		Serial1.print("string ");
+		Serial1.print(i, DEC);
+		Serial1.print(": ");
+		Serial1.println(strings[i].value, DEC);
+	}
+#endif
 }
 
 uint16_t gpioAB[2];

		if (buttons[i].mcpX) {
			buttons[i].mcpX->pinMode(buttons[i].pin, INPUT);
			buttons[i].mcpX->pullUp(buttons[i].pin, HIGH);
		} else {
			pinMode(buttons[i].pin, INPUT_PULLUP);
		}
	}


void setup() {
	int i;

#ifdef DEBUG
	Serial1.begin(115200);
	Serial1.print("setup...");
#endif

	// intialize the i2c devices
	mcp0.begin(0);
	mcp1.begin(1);
