Skip to content

Raspberry.IO.GeneralPurpose.GpioConnectionSettings

raspberry-sharp edited this page Oct 24, 2012 · 4 revisions

The GpioConnectionSettings class represents the settings of a GpioConnection.

Constants and Static Properties

DefaultBlinkDuration

int DefaultBlinkDuration = 250;

The default blink duration, i.e 250 milliseconds.

DefaultPollInterval

decimal DefaultPollInterval { get; }

The default poll interval in milliseconds, as loaded from application configuration. Default value is 50 milliseconds.

DefaultDriver

IGpioConnectionDriver DefaultDriver { get; }

The default driver, as loaded from application configuration. By default, MemoryGpioConnectionDriver is used.

Properties

BlinkDuration

decimal BlinkDuration { get; set; }

The blink duration, in milliseconds. Default value is DefaultBlinkDuration.

Driver

IGpioConnectionDriver Driver { get; set; }

The driver. Default value is DefaultDriver.

Opened

bool Opened { get; set; }

A boolean value indicating whether connection must be opened at initialization or will be manually opened later by a call to Open. Default is true.

PollInterval

decimal PollInterval { get; set; }

The amount of time, in milliseconds, between consecutive check to input pins. Default value is DefaultPollInterval.