UBTECH Alpha Servos UBT-12HC icon UBTECH Alpha Servos UBT-12HC — Control UBTECH Alpha UBT-12HC smart servos via ARC using EZ-B v4/IoTiny UART, assign virtual ports, set baud, custom bits and position mapping. Try it →
 

Set

PWM.set(port, dutyCycle, [ezbIndex])

Parameters

port Port to use.
dutyCycle Duty cycle percentage to set PWM duty cycle to.
ezbIndex (optional) Board index of the EZB to get PWM duty cycle from.

Returns

Nothing

Description

Sets the PWM duty cycle percentage of the specified port to dutyCycle which is a value between 0 and 100.