Compare commits
1 Commits
73c0dade20
...
0bfe0165c0
Author | SHA1 | Date | |
---|---|---|---|
0bfe0165c0 |
@ -14,8 +14,6 @@
|
||||
|
||||
void defaultExtIntIsr(void);
|
||||
|
||||
typedef void (*ExtIntIsr)(void);
|
||||
|
||||
class MBPeripherals
|
||||
{
|
||||
public:
|
||||
@ -74,7 +72,7 @@ class MBPeripherals
|
||||
void _3V3PowerRail(State state);
|
||||
const BoardConfig &_boardConfig;
|
||||
const RF24 _NRF;
|
||||
ExtIntIsr _extIntIsr;
|
||||
const void (*_extIntIsr)(void);
|
||||
|
||||
};
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define RADIO_CHANNEL 108 //0-125
|
||||
#define RADIO_NODE_ADDRESS "WEST1" //Weather Station 1 network because the mail box is connected on it
|
||||
#define RADIO_PA_LEVEL RF24_PA_MAX //RF24_PA_MIN,RF24_PA_LOW,RF24_PA_HIGH,RF24_PA_MAX
|
||||
#define ENABLE_LNA true //true or false
|
||||
#define ENABLE_LNA false //true or false
|
||||
#define RADIO_DATARATE RF24_250KBPS //Slow datarate to maximize range
|
||||
#define MAX_SEND_ROUND_RETRIES 5 //If no ACK is received, tries to resend a MAX_SEND_ROUND_RETRIES-1 more times
|
||||
//Increase this parameter if the RF link is bad.
|
||||
|
Loading…
Reference in New Issue
Block a user