-
Notifications
You must be signed in to change notification settings - Fork 378
Open
Labels
Description
I think a relatively simple, and nice addition would be the ability for this library to handle multiple instances with multiple radios.
I think the changes would be relatively simple, currently there is just a public static RFM69 *self pointer, that gets called by the ISR. All you would have to do is create a simple linked list of RFM69 objects, add an additional attribute to the class that is a RFM69 *next pointer. Whenever the ISR fires, in the isr routine just traverse through the list and digitalRead each RFM69's isr pin to figure out which device triggered the interrupt, then call the associated handler.
julian-w and jrbenito