Fix #180 - Add support for pigpio

This commit is contained in:
Dave Jones
2016-02-08 23:36:44 +00:00
parent d8e1503b80
commit aebe42875d
7 changed files with 312 additions and 13 deletions

View File

@@ -156,6 +156,13 @@ class NativePin(Pin):
use any class which requests PWM will raise an exception. This
implementation is also experimental; we make no guarantees it will
not eat your Pi for breakfast!
You can construct native pin instances manually like so::
from gpiozero.pins.native import NativePin
from gpiozero import LED
led = LED(NativePin(12))
"""
_MEM = None