private String getCharBuffer()	{
		StringBuilder lb=new StringBuilder();
		int a;
		// 1 or 1.5 stop bits
		if (stopBits<2)	{
			for (a=0;a<7;a++)	{
				if (inChar7[a]==true) lb.append("1");
				else lb.append("0");
				if ((a==0)||(a==5)) lb.append(" ");
			}
		}
		// 2 or more stop bits
		else	{
			for (a=0;a<8;a++)	{
				if (inChar8[a]==true) lb.append("1");
				else lb.append("0");
				if ((a==0)||(a==5)) lb.append(" ");
			}				
		}
		return lb.toString();
	}