setDutycycle(_:)

Sets the percentage of time during a period in which the output is high, from 0.0 to 1.0

PWMOut.swift:208
func setDutycycle(_ dutycycle: Float)

Parameters

dutycycle

The duration of high output in the time period from 0.0 to 1.0.