setGPIOinverted method

void setGPIOinverted(
  1. bool inverted
)

Inverts the GPIO line.

Implementation

void setGPIOinverted(bool inverted) {
  _checkStatus();
  _checkError(_nativeGPIOsetInverted(_gpioHandle, inverted == true ? 1 : 0));
}