Skip to content

polling works, but not interrupts #11

@thijsdeschildre

Description

@thijsdeschildre

I can't get this to work with interrupts on an Arduino Nano (and Attiny85 ultimately). Software polling works.

Starting with the example cocde, I defined the rotary encoder with pins 8 and 9, and attached interrupts 0 and 1 to the rotate subroutine.
With software polling I measure a pullup on the rotary encoder, but not when using the interrupts. I added a pullup with a 2K resistor to 5V, which doesn't help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions