Skip to content

IncrementalEncoder in rotaryio needs Pins, cannot use it on gpio expander #6183

@muranyia

Description

@muranyia

The IncrementalEncoder class needs two Pin instances to be instantiated, therefore it cannot be used with rotary encoders that are attached to a(n i2c) GPIO expander.

I'm wondering whether it would be possible to extend it, or to create a version of it which can work with values coming from an expander. An added bonus could be to make use of any interrupt pins on the expander which are connected to GPIO pins on the board.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy