gpio
gpio/{pin}
Read the last value set on a GPIO pin via the API/commands. Only pins with a cached value can be read; output pins must be SET before they can be read.
get/api/gpio/{pin}
Response
Object with pin and value (0 or 1).
Read the last value set on a GPIO pin via the API/commands. Only pins with a cached value can be read; output pins must be SET before they can be read.
Object with pin and value (0 or 1).