ushort bed = 2255;
byte gao = (byte)(bed >> 8);
byte di = (byte)(bed & 0xff);
ushort a = (ushort)(gao << 8);
ushort b = (ushort)di;
byte gao = (byte)(bed >> 8);
byte di = (byte)(bed & 0xff);
ushort a = (ushort)(gao << 8);
ushort b = (ushort)di;
//ushort newBed = (ushort)(a | di);
ushort newBed = (ushort)(gao << 8 | di);