Add `AnalogInputDevice` base class and extend `MCP3008` (and `MCP3004`)
classes from it.
This commit is contained in:
Dave Jones
2015-10-15 09:35:41 +01:00
parent fc1fe62bfe
commit a347a2ca4e
2 changed files with 80 additions and 23 deletions

View File

@@ -11,7 +11,9 @@ from .input_devices import (
MotionSensor,
LightSensor,
TemperatureSensor,
AnalogInputDevice,
MCP3008,
MCP3004,
)
from .output_devices import (
OutputDevice,