This sketch is demonstrates the use of private groups (node-to-custom_groups) in a multi-radio group.
This sketch is demonstrates the use of private groups (node-to-custom_groups) in a multi-radio group.
#include <RF24.h>
#include <SPI.h>
RF24 radio(7,8);
void setup() {
rfAudio.begin();
radio.stopListening();
radio.openReadingPipe(0,rfAudio.getAddress(7));
radio.openReadingPipe(3,rfAudio.getAddress(9));
radio.openReadingPipe(4,rfAudio.getAddress(11));
radio.openReadingPipe(5,rfAudio.getAddress(13));
radio.startListening();
}
void loop() {
rfAudio.handleButtons();
}
Class declaration for RF24Audio Library.
Arduino Realtime Audio Streaming library.
Definition: RF24Audio.h:22