GpioController.PinCount GpioController.PinCount GpioController.PinCount GpioController.PinCount GpioController.PinCount Property

Definition

Gets the number of pins on the general-purpose I/O (GPIO) controller.

public : int PinCount { get; }
int32_t PinCount();
public int PinCount { get; }
Public ReadOnly Property PinCount As int
var int = gpioController.pinCount;

Property Value

int int int

The number of pins on the GPIO controller. Some pins may not be available in user mode. For information about how the pin numbers correspond to physical pins, see the documentation for your circuit board.

Additional features and requirements

Capabilities
<DeviceCapability name="lowLevel" />

See also