Skip to content

Raspberry.IO.GeneralPurpose.Configuration.GpioConnectionConfigurationSection

raspberry-sharp edited this page Oct 14, 2012 · 7 revisions

The GpioConnectionConfigurationSection class implements a configuration section dedicated to configuration of GPIO access.

.config File

Section definition
<section name="gpioConnection" type="Raspberry.IO.GeneralPurpose.Configuration.GpioConnectionConfigurationSection, Raspberry.IO.GeneralPurpose" />
Section usage
<gpioConnection driver="driverTypeAndAssembly" />

driverTypeAndAssembly is the fully qualified name of the IConnectionDriver implementation.

Sample

<configSections>
  <section name="gpioConnection" type="Raspberry.IO.GeneralPurpose.Configuration.GpioConnectionConfigurationSection, Raspberry.IO.GeneralPurpose" />
</configSections>

<gpioConnection driver="Raspberry.IO.GeneralPurpose.FileConnectionDriver, Raspberry.IO.GeneralPurpose" />
Clone this wiki locally