32 lines
531 B
C
32 lines
531 B
C
//General Configuration
|
|
#define DEBUG_ME
|
|
|
|
//___Pin Connections___
|
|
|
|
//Radio Pins
|
|
#define CE_PIN 28//2
|
|
#define CSN_PIN 53//4
|
|
|
|
//___Software Config___
|
|
|
|
//Device ID
|
|
char DID = 'AA'; //TX device ID
|
|
char TID = 'BB'; //RX device ID
|
|
|
|
//___Advanced___
|
|
|
|
//Radio Power Level
|
|
#define RADIO_PA_LEVEL 1
|
|
|
|
//Number of channels
|
|
#define NUM_CHANNELS 10
|
|
|
|
//How long to delay broadcasting in milliseconds
|
|
#define BROADCAST_DELAY 250
|
|
|
|
|
|
//Byte array for inputs
|
|
int TX_CHANNELS[ NUM_CHANNELS+1 ][ 10 ] = {0};
|
|
|
|
//Default _MAX value
|
|
int DEFAULT_MAX = 1023; |