Class GpioController
Represents the Raspberry Pi GPIO controller
as an IReadOnlyCollection of GpioPins
Low level operations are accomplished by using the PiGPIO library.
Inheritance
GpioController
Syntax
public class GpioController : IGpioController
Properties
Count
Declaration
public int Count { get; }
Property Value
Item[BcmPin]
Declaration
public IGpioPin this[BcmPin bcmPin] { get; }
Parameters
Type |
Name |
Description |
BcmPin |
bcmPin |
|
Property Value
Type |
Description |
IGpioPin |
|
Item[P1]
Declaration
public IGpioPin this[P1 pinNumber] { get; }
Parameters
Type |
Name |
Description |
P1 |
pinNumber |
|
Property Value
Type |
Description |
IGpioPin |
|
Item[P5]
Declaration
public IGpioPin this[P5 pinNumber] { get; }
Parameters
Type |
Name |
Description |
P5 |
pinNumber |
|
Property Value
Type |
Description |
IGpioPin |
|
Item[Int32]
Declaration
public IGpioPin this[int bcmPinNumber] { get; }
Parameters
Type |
Name |
Description |
Int32 |
bcmPinNumber |
|
Property Value
Type |
Description |
IGpioPin |
|
Methods
GetEnumerator()
Declaration
public IEnumerator<IGpioPin> GetEnumerator()
Returns
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns