diff --git a/Raspberry.IO.GeneralPurpose/GpioConnectionSettings.cs b/Raspberry.IO.GeneralPurpose/GpioConnectionSettings.cs index a44bc13..46754ef 100644 --- a/Raspberry.IO.GeneralPurpose/GpioConnectionSettings.cs +++ b/Raspberry.IO.GeneralPurpose/GpioConnectionSettings.cs @@ -28,8 +28,18 @@ public class GpioConnectionSettings /// Initializes a new instance of the class. /// public GpioConnectionSettings() + : this(DefaultDriver) { - Driver = DefaultDriver; + } + + /// + /// Initializes a new instance of the class + /// with the specified + /// + /// Driver you want to work through. + public GpioConnectionSettings(IGpioConnectionDriver driver) + { + Driver = driver; BlinkDuration = DefaultBlinkDuration; PollInterval = DefaultPollInterval; Opened = true; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy