Compare commits
2 Commits
bad438287b
...
2c10a560bc
Author | SHA1 | Date | |
---|---|---|---|
2c10a560bc | |||
6b9c05a69d |
@ -108,7 +108,7 @@ void WSPeripherals::_3V3PowerRail(State state)
|
||||
{
|
||||
digitalWrite(_boardConfig.LDOEnable, state);
|
||||
if(state) //We let some time for the voltage to stabilize on the rail.
|
||||
delay(2);
|
||||
delay(10);
|
||||
}
|
||||
|
||||
const RF24 &WSPeripherals::getRadio(){return _NRF;}
|
||||
|
@ -11,7 +11,7 @@
|
||||
#include "packet_format.h"
|
||||
|
||||
//Serial debug config part
|
||||
#define SERIAL_DEBUG_ENABLED 1
|
||||
#define SERIAL_DEBUG_ENABLED 0
|
||||
#define SERIAL_BAUD_RATE 115200
|
||||
|
||||
//Battery config part
|
||||
@ -21,11 +21,11 @@
|
||||
//NRF Radio config part
|
||||
#define RADIO_CHANNEL 108
|
||||
#define RADIO_NODE_ADDRESS "WEST1" //Weather Station 1
|
||||
#define RADIO_PA_LEVEL RF24_PA_MAX
|
||||
#define RADIO_PA_LEVEL RF24_PA_LOW
|
||||
#define RADIO_DATARATE RF24_250KBPS
|
||||
|
||||
//Sleep config part : in 4 second increments ie : 1 corresponds to 4s of sleep, and 15 correponds to 60 seconds of sleep.
|
||||
#define SLEEP_4_SEC_INTERVAL 1//15
|
||||
#define SLEEP_4_SEC_INTERVAL 15
|
||||
|
||||
//Pin config part
|
||||
typedef enum
|
||||
|
Loading…
Reference in New Issue
Block a user