RF24Audio v1.0
Arduino Audio Streaming Realtime with NRF24L01 radios
Loading...
Searching...
No Matches
Macros | Functions | Variables
RF24Audio.cpp File Reference

class & function definitions for RF24Audio library More...

#include <WProgram.h>
#include <stddef.h>
#include "RF24Audio.h"
#include "RF24.h"
#include <userConfig.h>

Macros

#define RESOLUTION_BASE   ((F_CPU) / 10)
 

Functions

RF24 radi (0, 0)
 
void vol (bool upDn)
 
void rampDown ()
 
void rampUp (byte nextVal)
 
void handleRadio ()
 
void RX ()
 Global helper function to RF24Audio::receive().
 
 ISR (TIMER1_CAPT_vect)
 
 ISR (TIMER1_OVF_vect)
 
 ISR (TIMER1_COMPA_vect)
 
 ISR (TIMER1_COMPB_vect)
 
void TX ()
 Global helper function to RF24Audio::transmit().
 

Variables

volatile boolean buffEmpty [2] = {true, true}
 
volatile boolean whichBuff = false
 
volatile boolean a
 
volatile boolean lCntr =0
 
volatile boolean streaming = 0
 
volatile boolean transmitting = 0
 
volatile byte buffCount = 0
 
volatile byte pauseCntr = 0
 
unsigned int intCount = 0
 
byte txCmd [2] = {'r', 'R'}
 
byte buffer [2][buffSize+1]
 
char volMod = -1
 
byte bitPos = 0
 
byte bytePos = 25
 
byte bytH
 
byte radioIdentifier
 
unsigned long volTime = 0
 
const byte broadcastVal = 255
 
boolean nn = 0
 
volatile byte bufCtr = 0
 
volatile unsigned int visCtr = 0
 

Detailed Description

class & function definitions for RF24Audio library

Function Documentation

◆ RX()

void RX ( )

Global helper function to RF24Audio::receive().

Do not use this directly. Use RF24Audio::receive() instead of this function as RF24Audio needs to be properly setup first.

◆ TX()

void TX ( )

Global helper function to RF24Audio::transmit().

Do not use this directly. Use RF24Audio::transmit() instead of this function as RF24Audio needs to be properly setup first.