setState method

void setState(
  1. bool state
)

Implementation

void setState(bool state) {
  _ensureAttached();
  bindings.checkPhidgetError(
      bindings.digitalOutputSetState(_handle!, state ? 1 : 0), "setState");
}