RF24Audio  v1.0
Arduino Audio Streaming Realtime with NRF24L01 radios
 All Classes Files Functions Pages
RF24Audio.h
Go to the documentation of this file.
1 
2 /* RFAudio Library: by TMRh20 2011-2014*/
3 
4 #ifndef __RF24Audio_H__
5 #define __RF24Audio_H__
6 
13 class RF24;
14 
22 class RF24Audio
23 {
24 
25 public:
39  RF24Audio(RF24& _radio, byte radioNum);
40 
49  void begin();
50 
59  void volume(bool upDn);
60 
69  void setVolume(char vol);
70 
79  void transmit();
80 
89  void receive();
90 
104  void broadcast(byte radioID);
105 
122  uint64_t getAddress(byte addressNo);
123 
124 
125 private:
126  RF24& radio;
127  void timerStart();
128 };
129 
130 void TX();
131 void RX();
132 
133 #endif
134 
135 
void broadcast(byte radioID)
Control of Private or Public Communication.
void setVolume(char vol)
Volume Control.
RF24Audio(RF24 &_radio, byte radioNum)
Setup the radio and radio identifier.
void receive()
Stop transmission through code.
void transmit()
Control transmission through code.
TMRh20 2014 - RF24Audio: Arduino Realtime Audio Streaming library.
Definition: RF24Audio.h:22
void volume(bool upDn)
Volume Control.
void begin()
Initialize the radio and audio library.
uint64_t getAddress(byte addressNo)
Get any of the preset radio addresses.