AdafruitMotorPinProvider.GetPinsForMotor(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for