-
Notifications
You must be signed in to change notification settings - Fork 900
Description
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?