From d3b5091895ef2a3d02d0f879c1a130a4cb657807 Mon Sep 17 00:00:00 2001 From: Henk van Boeijen Date: Sun, 21 Jun 2015 13:34:54 +0200 Subject: [PATCH] Fixed issue #7 (https://github.com/SolidSoils/Arduino/issues/7) --- Solid.Arduino/ArduinoSession.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Solid.Arduino/ArduinoSession.cs b/Solid.Arduino/ArduinoSession.cs index 5c128ee..4c607b4 100644 --- a/Solid.Arduino/ArduinoSession.cs +++ b/Solid.Arduino/ArduinoSession.cs @@ -608,7 +608,7 @@ public void ConfigureServo(int pinNumber, int minPulse, int maxPulse) (byte)((maxPulse >> 7) & 0x7F), SysExEnd }; - _connection.Write(command, 0, 7); + _connection.Write(command, 0, 8); } #endregion