diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-05-29 18:21:19 -0700 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2018-06-01 15:08:48 -0700 |
| commit | d0fb6e7a2fd6b60ecc0fc8a332a9de5ed32f88af (patch) | |
| tree | 0004029e575afaac3af1e898eda534628acaad9c /shared-bindings | |
| parent | fd71e56891749837a823a4b555b84150b6fbc1e8 (diff) | |
atmel-samd: Add rotary encoder support.
Fixes #283
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/index.rst | 4 | ||||
| -rw-r--r-- | shared-bindings/rotaryio/__init__.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/shared-bindings/index.rst b/shared-bindings/index.rst index 76b5e340b..d98587880 100644 --- a/shared-bindings/index.rst +++ b/shared-bindings/index.rst @@ -17,6 +17,9 @@ SAMD51, SAMD51 Express, and ESP8266. NOTE 2: **SAMD** and/or **SAMD Express** without additional numbers, means both SAMD21 & SAMD51 versions are supported. +NOTE 3: The `pIRkey SAMD21 board <https://www.adafruit.com/product/3364>`_ is specialized and may not +have modules as listed below. + ================= ============================== Module Supported Ports ================= ============================== @@ -38,6 +41,7 @@ Module Supported Ports `os` **All Supported** `pulseio` **SAMD/SAMD Express** `random` **All Supported** +`rotaryio` **SAMD51, SAMD Express** `storage` **All Supported** `struct` **All Supported** `supervisor` **SAMD/SAMD Express** diff --git a/shared-bindings/rotaryio/__init__.c b/shared-bindings/rotaryio/__init__.c index db1ff3d4c..a0166771a 100644 --- a/shared-bindings/rotaryio/__init__.c +++ b/shared-bindings/rotaryio/__init__.c @@ -33,8 +33,8 @@ #include "shared-bindings/rotaryio/__init__.h" #include "shared-bindings/rotaryio/IncrementalEncoder.h" -//| :mod:`rotaryio` --- Support for pulse based protocols -//| ===================================================== +//| :mod:`rotaryio` --- Support for reading rotation sensors +//| ======================================================== //| //| .. module:: rotaryio //| :synopsis: Support for reading rotation sensors |
