RF24Audio v1.0
Arduino Audio Streaming Realtime with NRF24L01 radios
|
macros for customization of RF24Audio More...
Go to the source code of this file.
Macros | |
#define | SAMPLE_RATE 24000 |
The sample rate to use for transferring audio samples. | |
#define | RF_SPEED RF24_1MBPS |
configure the RF data rate | |
#define | ANALOG_PIN A0 |
The pin that analog readings will be taken from (microphone pin) | |
#define | ENABLE_LED |
Indicator pin. | |
#define | TX_PIN A1 |
Button pin to trigger recording & transmission. | |
#define | VOL_UP_PIN A2 |
Pin for external volume control. | |
#define | VOL_DN_PIN A3 |
Pin for external volume control. | |
#define | REMOTE_TX_PIN A4 |
Pin for externally triggering remote recording. | |
#define | REMOTE_RX_PIN 4 |
Pin for externally stopping remote recording (needs timeout enabled) | |
#define | buffSize 32 |
The size of the memory buffer to use. | |
#define | speakerPin 9 |
The pin used to output audio on UNO. | |
#define | speakerPin2 10 |
The pin used to output audio on Nano. | |
#define | ledPin 6 |
Variables | |
const uint64_t | pipes [14] |
Radio pipe addresses for the 2 nodes to communicate. | |
macros for customization of RF24Audio
#define buffSize 32 |
The size of the memory buffer to use.
Not really configurable (set to maximum by default).
#define ENABLE_LED |
Indicator pin.
Using pin 6 on Uno enables audio visualization. Pin 13 on Mega 2560 (TIMER0 COMPA)
#define RF_SPEED RF24_1MBPS |
configure the RF data rate
These are not limits, just a guide:
#define SAMPLE_RATE 24000 |
The sample rate to use for transferring audio samples.
Maximum Range: Sample rate 16000, RF_SPEED RF24_250KBPS
Maximum Quality: Sample rate 44000, RF_SPEED RF24_2MBPS
const uint64_t pipes[14] |
Radio pipe addresses for the 2 nodes to communicate.