mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix #180 - Add support for pigpio
This commit is contained in:
@@ -32,6 +32,13 @@ class RPIOPin(Pin):
|
||||
Pi 1's; the Raspberry Pi 2 Model B is *not* supported. Also note that
|
||||
root access is required so scripts must typically be run with ``sudo``.
|
||||
|
||||
You can construct RPIO pins manually like so::
|
||||
|
||||
from gpiozero.pins.rpio import RPIOPin
|
||||
from gpiozero import LED
|
||||
|
||||
led = LED(RPIOPin(12))
|
||||
|
||||
.. _RPIO: https://pythonhosted.org/RPIO/
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user