3.3.2.7 Active Low Pin Value Setting

int IndoorTouch.GPIOSetActiveLow(int pin, int value);

Pin is the PIN index, refer to 3.3.2.1 GPIO Pin Reading, and value is {0,1}. Applicable for GPIO_PIN_IO1 and GPIO_PIN_IO2.
The return value is as follows:

  • IndoorTouch.RC_OK = 0;
  • IndoorTouch.RC_ERR_CONN = -1; API daemon connection error
  • IndoorTouch.RC_ERR_SYS = -6; system error (the value cannot be set, etc.)
  • IndoorTouch.RC_ERR_DENIED = -7; GPIO does not exist or is unswitchable