getMaxDutyCycle method
Implementation
double getMaxDutyCycle() {
final pMaxDutyCycle = calloc<Double>();
try {
bindings.digitalOutputGetMaxDutyCycle(_handle!, pMaxDutyCycle);
return pMaxDutyCycle.value;
} catch (e) {
throw PhidgetException(
'An error occurred getting the maximum duty cycle: $e');
} finally {
calloc.free(pMaxDutyCycle);
}
}