MotorHat.CreatePwmChannel(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.
Creates a PwmChannel from one of the 4 available PWM channels in the MotorHat
public System.Device.Pwm.PwmChannel CreatePwmChannel (int channelNumber);
member this.CreatePwmChannel : int -> System.Device.Pwm.PwmChannel
Public Function CreatePwmChannel (channelNumber As Integer) As PwmChannel
Parameters
- channelNumber
- Int32
A valid PWM channel (0, 1, 14 or 15)
Returns
Remarks
The channelNumber refers to ont of the available PWM channel numbers available in the Motor Hat (0, 1, 14, 15) printed in the device.
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