setDutyCycleNs method
Sets the duty cycle in nanoseconds
of the PWM.
Implementation
void setDutyCycleNs(int nanoseconds) {
_checkError(_nativePWMsetDutyCycleNs(_pwmHandle, nanoseconds));
}
Sets the duty cycle in nanoseconds
of the PWM.
void setDutyCycleNs(int nanoseconds) {
_checkError(_nativePWMsetDutyCycleNs(_pwmHandle, nanoseconds));
}