Fixed protocol implementation in Arduino.cs