AdafruitMotorPinProvider.GetPinsForMotor(Int32) Method

Definition

Gets the MotorPins for motor at the specified index

public Iot.Device.MotorHat.MotorPins GetPinsForMotor (int index);
abstract member GetPinsForMotor : int -> Iot.Device.MotorHat.MotorPins
override this.GetPinsForMotor : int -> Iot.Device.MotorHat.MotorPins
Public Function GetPinsForMotor (index As Integer) As MotorPins

Parameters

index
Int32

The index of the motor to get pins for

Returns

Implements

Applies to