diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-08-27 13:58:19 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-20 12:55:28 -0400 |
commit | 16d2ec3a905204dd804831611aff37a4b508e0fa (patch) | |
tree | 9f2b4f64b575fae07f24ea599b8796d95d5ec86e /klippy/pins.py | |
parent | 4d60567bc66417c48e7c3095ceded6c24ec1888f (diff) | |
download | kutter-16d2ec3a905204dd804831611aff37a4b508e0fa.tar.gz kutter-16d2ec3a905204dd804831611aff37a4b508e0fa.tar.xz kutter-16d2ec3a905204dd804831611aff37a4b508e0fa.zip |
linux: Add support for analog IIO devices
Add support for reading analog values via the standard Linux IIO
interface. This can be used on Replicape boards to sample analog
input pins.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/pins.py')
-rw-r--r-- | klippy/pins.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/pins.py b/klippy/pins.py index 46266ed6..5bbaf855 100644 --- a/klippy/pins.py +++ b/klippy/pins.py @@ -37,6 +37,7 @@ MCU_PINS = { "atmega1280": port_pins(12), "atmega2560": port_pins(12), "sam3x8e": port_pins(4, 32), "pru": beaglebone_pins(), + "linux": {"analog%d" % i: i for i in range(8)}, # XXX } |