Skip to content

Using PCINT instead of dedicated interrupts #3

Description

@NetBUG

Hi,

the library currently works awesome in simple cases when the RC receiver has a merged PPM output pin.
However, some of them do not, and it could be very useful to use 2-3-4 pins at once to handle several channels.
Conventional interrupts do not work at ATMegas (there are three of them), but there is a pin change interrupt that can be attached to almost all of the pins.
It requires slightly more code (i.e. reading each pin state, or reading the whole port and decomposing the value to individual channels).
Did you think about it already?

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