diff --git a/src/Rs232ParsingUtils.cs b/src/Rs232ParsingUtils.cs index a91c70c..5e3f106 100644 --- a/src/Rs232ParsingUtils.cs +++ b/src/Rs232ParsingUtils.cs @@ -47,7 +47,7 @@ public static string ParseInputResponse(this byte[] response) Debug.Console(DebugLevels.DebugLevel, "ParseInputResponse response: {0}", response.ToReadableString()); //add together the input type byte & the input number byte - var inputNumber = response[3] + response[4]; + var inputNumber = response[3] << 8 | response[4]; string input;