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

	for (i = 0; i < STRINGS; ++i) {
		strings[i].value = analogRead(strings[i].pin);
	}
}

uint16_t gpioAB[2];

void setup() {
	int i;

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

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