protected override void Dispose(bool disposing) { if (_disposed) { return; } if (disposing) { _gpioExpander.Dispose(); } _disposed = true; }