Fix docs for #521

This commit is contained in:
Dave Jones
2017-06-21 16:08:21 +01:00
parent ffe12362f5
commit a0e7b63b8f

View File

@@ -68,7 +68,7 @@ they are tried by default.
+---------+-----------------------------------------------+-------------------------------------------+ +---------+-----------------------------------------------+-------------------------------------------+
| rpio | :class:`gpiozero.pins.rpio.RPIOFactory` | :class:`gpiozero.pins.rpio.RPIOPin` | | rpio | :class:`gpiozero.pins.rpio.RPIOFactory` | :class:`gpiozero.pins.rpio.RPIOPin` |
+---------+-----------------------------------------------+-------------------------------------------+ +---------+-----------------------------------------------+-------------------------------------------+
| pigpio | :class:`gpiozero.pins.pigpiod.PiGPIOFactory` | :class:`gpiozero.pins.pigpiod.PiGPIOPin` | | pigpio | :class:`gpiozero.pins.pigpio.PiGPIOFactory` | :class:`gpiozero.pins.pigpio.PiGPIOPin` |
+---------+-----------------------------------------------+-------------------------------------------+ +---------+-----------------------------------------------+-------------------------------------------+
| native | :class:`gpiozero.pins.native.NativeFactory` | :class:`gpiozero.pins.native.NativePin` | | native | :class:`gpiozero.pins.native.NativeFactory` | :class:`gpiozero.pins.native.NativePin` |
+---------+-----------------------------------------------+-------------------------------------------+ +---------+-----------------------------------------------+-------------------------------------------+
@@ -90,7 +90,7 @@ any devices using them)::
Certain factories may take default information from additional sources. Certain factories may take default information from additional sources.
For example, to default to creating pins with For example, to default to creating pins with
:class:`gpiozero.pins.pigpiod.PiGPIOPin` on a remote pi called ``remote-pi`` :class:`gpiozero.pins.pigpio.PiGPIOPin` on a remote pi called ``remote-pi``
you can set the :envvar:`PIGPIO_ADDR` environment variable when running your you can set the :envvar:`PIGPIO_ADDR` environment variable when running your
script: script:
@@ -129,9 +129,9 @@ RPIO
PiGPIO PiGPIO
====== ======
.. autoclass:: gpiozero.pins.pigpiod.PiGPIOFactory .. autoclass:: gpiozero.pins.pigpio.PiGPIOFactory
.. autoclass:: gpiozero.pins.pigpiod.PiGPIOPin .. autoclass:: gpiozero.pins.pigpio.PiGPIOPin
Native Native