mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix old references to PiGPIOPin
This commit is contained in:
@@ -183,9 +183,10 @@ following:
|
|||||||
If you are running this from a PC (not a Raspberry Pi) with gpiozero and the
|
If you are running this from a PC (not a Raspberry Pi) with gpiozero and the
|
||||||
pigpio Python library installed, this will work with no further configuration.
|
pigpio Python library installed, this will work with no further configuration.
|
||||||
However, if you are running this from a Raspberry Pi, you will also need to
|
However, if you are running this from a Raspberry Pi, you will also need to
|
||||||
ensure the default pin factory is set to ``PiGPIOPin``. If ``RPi.GPIO`` is
|
ensure the default pin factory is set to ``PiGPIOFactory``. If ``RPi.GPIO`` is
|
||||||
installed, this will be selected as the default pin factory, so either
|
installed, this will be selected as the default pin factory, so either
|
||||||
uninstall it, or use another environment variable to set it to ``PiGPIOPin``:
|
uninstall it, or use another environment variable to set it to
|
||||||
|
``PiGPIOFactory``:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user