 	Serial.print("#"); Serial.print(id); Serial.print(":");
 	Serial.print(button);
 	Serial.println(";");
+	digitalWrite(SSerialTxControl, RS485Transmit);
+	RS485.print("#"); RS485.print(id); RS485.print(":");
+	RS485.print(button);
+	RS485.println(";");
+	digitalWrite(SSerialTxControl, RS485Receive);
+	delay(50);
 }

}

void loop () {
	white = digitalRead(WHITE);
	red = digitalRead(RED);
	if(white == LOW && white_state == 0) {
		white_state = 1;
		txButton(BUTTON_WHITE);
		delay(200);
	}
	else if(white == HIGH && white_state == 1) {
		white_state = 0;
	}
	if(red == LOW && red_state == 0) {
		red_state = 1;
		txButton(BUTTON_RED);
		delay(200);
	}
	else if(red == HIGH && red_state == 1) {
		red_state = 0;
	}
	delay(50);

	pinMode(RED, INPUT);
	pinMode(ID0, INPUT);
	pinMode(ID1, INPUT);
	pinMode(SSerialTxControl, OUTPUT);    
	digitalWrite(SSerialTxControl, RS485Receive);
	RS485.begin(9600);   // set the data rate 


	id += digitalRead(ID0);
	id += digitalRead(ID1);
	Serial.println("[Button Box]");
