Compare commits
3 Commits
0bfe0165c0
...
73c0dade20
Author | SHA1 | Date | |
---|---|---|---|
73c0dade20 | |||
1d92f43e67 | |||
6f366fa386 |
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
void defaultExtIntIsr(void);
|
void defaultExtIntIsr(void);
|
||||||
|
|
||||||
|
typedef void (*ExtIntIsr)(void);
|
||||||
|
|
||||||
class MBPeripherals
|
class MBPeripherals
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -72,7 +74,7 @@ class MBPeripherals
|
|||||||
void _3V3PowerRail(State state);
|
void _3V3PowerRail(State state);
|
||||||
const BoardConfig &_boardConfig;
|
const BoardConfig &_boardConfig;
|
||||||
const RF24 _NRF;
|
const RF24 _NRF;
|
||||||
const void (*_extIntIsr)(void);
|
ExtIntIsr _extIntIsr;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#define RADIO_CHANNEL 108 //0-125
|
#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_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 RADIO_PA_LEVEL RF24_PA_MAX //RF24_PA_MIN,RF24_PA_LOW,RF24_PA_HIGH,RF24_PA_MAX
|
||||||
#define ENABLE_LNA false //true or false
|
#define ENABLE_LNA true //true or false
|
||||||
#define RADIO_DATARATE RF24_250KBPS //Slow datarate to maximize range
|
#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
|
#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.
|
//Increase this parameter if the RF link is bad.
|
||||||
|
Loading…
Reference in New Issue
Block a user