/arduino-mbed-encoder

Arduino/mbed Encoder library for dual interrupt pins with debounce

Primary LanguageC++MIT LicenseMIT

arduino-mbed-encoder

Yet another arduino encoder lib as I could not find one that used interrupts on both pins, support for callback functions and had some form of debounce logic for cheap, low quality encoders.

Usage

platformio.ini:

[env]
framework = arduino
lib_deps =
    tvidal-net/arduino-mbed-encoder

[env:pico]
board = pico
platform = raspberrypi
monitor_speed = 115200

Examples

Source code