mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +00:00
Add pins database
Related to @lurch's comments on #148, this PR contains a database of pins for each Pi revision, along with various other bits of miscellany (I might've gotten a bit carried away here...). Any corrections/extensions welcome!
This commit is contained in:
@@ -8,6 +8,11 @@ from __future__ import (
|
||||
from .pins import (
|
||||
Pin,
|
||||
)
|
||||
from .pins.data import (
|
||||
PiBoardInfo,
|
||||
PinInfo,
|
||||
pi_info,
|
||||
)
|
||||
from .exc import (
|
||||
GPIOZeroError,
|
||||
DeviceClosed,
|
||||
@@ -37,6 +42,9 @@ from .exc import (
|
||||
PinPWMError,
|
||||
PinPWMUnsupported,
|
||||
PinPWMFixedValue,
|
||||
PinUnknownPi,
|
||||
PinMultiplePins,
|
||||
PinNoPins,
|
||||
GPIOZeroWarning,
|
||||
SPIWarning,
|
||||
SPISoftwareFallback,
|
||||
|
||||
Reference in New Issue
Block a user