 | MotorHat2348CreatePwm Method |
Creates a
PwmPin for the specified channel.
Namespace:
Adafruit.IoT.Devices
Assembly:
Adafruit.IoT (in Adafruit.IoT.dll) Version: 1.0.6.0 (1.0.6.0)
Syntaxpublic PwmPin CreatePwm(
byte channel
)
Public Function CreatePwm (
channel As Byte
) As PwmPin
public:
virtual PwmPin^ CreatePwm(
[InAttribute] unsigned char channel
) sealed
Parameters
- channel
- Type: SystemByte
The PWM channel number.
Return Value
Type:
PwmPinThe created
PwmPin for the specified channel.
RemarksChannel numbers 1 through 4 correspond to the auxiliary PCA9685 channels 0, 1, 14 and 15.
See Also