gpioset --help
Usage: gpioset [OPTIONS] <line=value>…
Set values of GPIO lines.
Lines are specified by name, or optionally by offset if the chip option
is provided.
Values may be ‘1’ or ‘0’, or equivalently ‘active’/‘inactive’ or ‘on’/‘off’.
The line output state is maintained until the process exits, but after that
is not guaranteed.
Options:
–banner display a banner on successful startup
-b, --bias specify the line bias
Possible values: ‘pull-down’, ‘pull-up’, ‘disabled’.
(default is to leave bias unchanged)
–by-name treat lines as names even if they would parse as an offset
-c, --chip restrict scope to a particular chip
-C, --consumer consumer name applied to requested lines (default is ‘gpioset’)
-d, --drive specify the line drive mode
Possible values: ‘push-pull’, ‘open-drain’, ‘open-source’.
(default is ‘push-pull’)
-h, --help display this help an