public void setPortBLabels(int t) {
		int a = t & 0b00000001;
		int b = t & 0b00000010;
		int c = t & 0b00000100;
		int d = t & 0b00001000;
		int e = t & 0b00010000;
		int f = t & 0b00100000;
		int g = t & 0b01000000;
		int h = t & 0b10000000;
		if (a > 0) {
			label_45.setText("1");
		} else {
			label_45.setText("0");
		}
		if (b > 0) {
			label_44.setText("1");
		} else {
			label_44.setText("0");
		}
		if (c > 0) {
			label_43.setText("1");
		} else {
			label_43.setText("0");
		}
		if (d > 0) {
			label_42.setText("1");
		} else {
			label_42.setText("0");
		}
		if (e > 0) {
			label_41.setText("1");
		} else {
			label_41.setText("0");
		}
		if (f > 0) {
			label_40.setText("1");
		} else {
			label_40.setText("0");
		}
		if (g > 0) {
			label_39.setText("1");
		} else {
			label_39.setText("0");
		}
		if (h > 0) {
			label_38.setText("1");
		} else {
			label_38.setText("0");
		}
		label_47.setText(String.valueOf(t));
	}