SolarOS 4.17.7 manual · command
gpio
List board GPIOs with free, releasable, or fixed pin policy.
Usage
| Usage | Description |
|---|---|
gpio status or gpio list | List board GPIOs with free, releasable, or fixed pin policy. |
gpio mode <pin> <in|out> [none|up|down] | Configure a runtime GPIO. |
gpio read <pin> | Read a runtime GPIO. |
gpio write <pin> <0|1> | Write a runtime GPIO configured as output. |
gpio release <pin> | Reset a direct GPIO and release its resource claim for a bus or another service. |