getDutyCycleNs method

int getDutyCycleNs()

Gets the duty cycle in nanoseconds of the PWM.

Implementation

int getDutyCycleNs() {
  return _getInt64Value(_nativePWMgetDutyCycleNs);
}