RF24Audio v1.0
Arduino Audio Streaming Realtime with NRF24L01 radios
Loading...
Searching...
No Matches
RF24Audio.h
Go to the documentation of this file.
1
9#ifndef __RF24Audio_H__
10#define __RF24Audio_H__
11
12class RF24;
13
22{
23
24public:
38 RF24Audio(RF24& _radio, byte radioNum);
39
48 void begin();
49
58 void volume(bool upDn);
59
68 void setVolume(char vol);
69
78 void transmit();
79
88 void receive();
89
103 void broadcast(byte radioID);
104
121 uint64_t getAddress(byte addressNo);
122
126 void handleButtons();
127
128private:
129 RF24& radio;
130 void timerStart();
131};
132
138void TX();
139
145void RX();
146
147#endif // __RF24Audio_H__
148
149
void RX()
Global helper function to RF24Audio::receive().
Definition: RF24Audio.cpp:328
void TX()
Global helper function to RF24Audio::transmit().
Definition: RF24Audio.cpp:521
Arduino Realtime Audio Streaming library.
Definition: RF24Audio.h:22
void handleButtons()
Handle button inputs.
Definition: RF24Audio.cpp:125
void receive()
Stop transmission through code.
Definition: RF24Audio.cpp:252
void begin()
Initialize the radio and audio library.
Definition: RF24Audio.cpp:55
void broadcast(byte radioID)
Control of Private or Public Communication.
Definition: RF24Audio.cpp:442
void transmit()
Control transmission through code.
Definition: RF24Audio.cpp:247
void volume(bool upDn)
Volume Control.
Definition: RF24Audio.cpp:106
uint64_t getAddress(byte addressNo)
Get any of the preset radio addresses.
Definition: RF24Audio.cpp:257
void setVolume(char vol)
Volume Control.
Definition: RF24Audio.cpp:111