Skip to content

tips for patching - multiple receivers at once to determine direction #2165

@dragoncoder047

Description

@dragoncoder047

It is my understanding that this library kind of supports multiple receivers on different pins, but not listening to multiple at once cause they all share the same interrupt routine.

However, I want to use two receivers to left and right and with a baffle in between them, to determine what direction the signal came from. The idea is, if only one receiver receives a signal, it came from that direction, but if both receive the signal simultaneously then it came from the front.

I can not just repeatedly switch back and forth between polling the two receivers, since the tasks that must be run alongside this loop take an unpredictable amount of time, and I already have bluetooth etc. tasks occupying the other core. So I need to set it to interrupt when either of the two receivers gets something.

Do you have any tips on where I should start to make those modifications?

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