public byte ReadRemoteCommand() { if (Mode != IRMode.Remote) { Mode = IRMode.Remote; } return (byte)((brick.BrickPi.Sensor[(int)Port].Value >> (int)Channel) & 0x0F); }