pulseWidthMs method

MraaReturnCode pulseWidthMs(
  1. MraaPwmContext dev,
  2. int milliseconds
)

Pulse width milliseconds - mraa_pwm_pulsewidth_ms

Set the PWM pulse width in milliseconds

Implementation

MraaReturnCode pulseWidthMs(MraaPwmContext dev, int milliseconds) =>
    MraaReturnCode.returnCode(
        _impl.mraa_pwm_pulsewidth_ms(dev, milliseconds));