diff options
| author | Jonathan Hogg <me@jonathanhogg.com> | 2022-09-12 18:37:22 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-08-02 00:00:03 +1000 |
| commit | 641ca2eb0624fc0df2b358f1a4652525af123fd7 (patch) | |
| tree | 42d2585a96a49aeeece189b3d10824414dfcd632 /docs/library/esp32.rst | |
| parent | 327655905e9f523070301f2f35459197d46db4fb (diff) | |
docs/library/machine: Add docs for Counter and Encoder.
Add documentation for `machine.Counter` and `machine.Encoder` as currently
implemented by the esp32 port, but intended to be implemented by other
ports.
Originally authored by: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com> and
Jonathan Hogg <me@jonathanhogg.com>.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'docs/library/esp32.rst')
| -rw-r--r-- | docs/library/esp32.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/library/esp32.rst b/docs/library/esp32.rst index 0cf0ebc62..e5f39c7f5 100644 --- a/docs/library/esp32.rst +++ b/docs/library/esp32.rst @@ -336,6 +336,9 @@ implemented as thin Python shims around :class:`PCNT`. value. Thus the ``IRQ_ZERO`` event will also trigger when either of these events occurs. +See the :ref:`machine.Counter <machine.Counter>` and +:ref:`machine.Encoder <machine.Encoder>` classes for simpler abstractions of +common pulse counting applications. .. _esp32.RMT: |
