setEnabled method
Implementation
void setEnabled(bool enabled) {
try {
bindings.voltageOutputSetEnabled(_handle!, enabled ? 1 : 0);
} catch (e) {
throw PhidgetException('An error occurred setting the enabled state: $e');
}
}
void setEnabled(bool enabled) {
try {
bindings.voltageOutputSetEnabled(_handle!, enabled ? 1 : 0);
} catch (e) {
throw PhidgetException('An error occurred setting the enabled state: $e');
}
}