Man page - gpiozero-env(7)
Packages contas this manual
Package: python3-gpiozero
apt-get install python3-gpiozero
apt-get install python3-gpiozero
Manuals in package:
Documentations in package:
Manual
| GPIOZERO-ENV(7) | gpiozero | GPIOZERO-ENV(7) |
NAME
gpiozero-env - GPIO Zero environment vars
All utilities provided by GPIO Zero accept the following environment variables:
- GPIOZERO_PIN_FACTORY
- The library to use when communicating with the GPIO pins. Defaults to attempting to load lgpio, then RPi.GPIO, then pigpio, and finally uses a native Python implementation. Valid values include "lgpio", "rpigpio", "pigpio", "native", and "mock". The latter is most useful on non-Pi platforms as it emulates a Raspberry Pi model 3B (by default).
- PIGPIO_ADDR
- The hostname of the Raspberry Pi the pigpio library should attempt to connect to (if the pigpio pin factory is being used). Defaults to localhost.
- PIGPIO_PORT
- The port number the pigpio library should attempt to connect to (if the pigpio pin factory is being used). Defaults to 8888.
SEE ALSO
pinout(1) <https://manpages.debian.org/bookworm/pinout.1.en.html>, pintest(1) <https://manpages.debian.org/bookworm/pintest.1.en.html>
AUTHOR
Ben Nuttall
COPYRIGHT
2015-2025 Ben Nuttall
| May 20, 2025 | 2.0.1 |