 
 char is_command_running;
 
-const char* firmware_version = "2019.05.02.0"; // year.month.day.build number
+const char* firmware_version = "2019.05.08.0"; // year.month.day.build number
 
 #define MAX_BUFFER_LENGTH 65
 

	
	while (!Serial);
	while (Serial.available() > 0) 
		char t = Serial.read();

	Serial.write("T#");// initialization is over; must check for T# string (which is the alive test)
	Serial.flush();

		else
			// button
			if (tmp_str[i + 1] == 'B' || tmp_str[i + 1] == 'b') {
				uint8_t sensor_index;
				int num_read = sscanf(tmp_str + i + 2, "%hhu", &sensor_index);
				if (num_read != 1) {
					strcpy(tmp_serial_out, "E#");
					i += 2;
					return;
				}
				// Serial.println(sensor_index);
				int sensor_value = buttons_controller.get_state(sensor_index);
				sprintf(tmp_serial_out, "RB%d %d#", sensor_index, sensor_value);
