 volatile bool multitap = false;
 #endif
 
-void setup() {
+void setup()
+{
 	pinMode(PIN_LED, OUTPUT);
 	digitalWrite(PIN_LED, HIGH);
 

		{
			switch(high)
			{
				case 1: // multitap
					multitap = low == 1 ? true : false;
					break;
				case 2:
					switch(low)
					{

	pinMode(PIN_1_CLOCK, INPUT_PULLUP);
	pinMode(PIN_1_LATCH, INPUT_PULLUP);
	pinMode(PIN_1_DATA0, OUTPUT);
	digitalWriteFast(PIN_1_CLOCK, HIGH);
	digitalWriteFast(PIN_1_LATCH, HIGH);
	digitalWriteFast(PIN_1_DATA0, HIGH);

	// setup pins for port 2
	pinMode(PIN_2_CLOCK, INPUT_PULLUP);
	pinMode(PIN_2_LATCH, INPUT_PULLUP);
	pinMode(PIN_2_DATA0, OUTPUT);
	digitalWriteFast(PIN_2_CLOCK, HIGH);
	digitalWriteFast(PIN_2_LATCH, HIGH);
	digitalWriteFast(PIN_2_DATA0, HIGH);

#ifdef MULTITAP
	pinMode(PIN_2_DATA1, OUTPUT);
	pinMode(PIN_2_PP, INPUT);
	digitalWriteFast(PIN_2_DATA1, HIGH);
	// digitalWrite(PIN_2_PP, HIGH);
#endif

