Compare commits

..

2 Commits

2 changed files with 4 additions and 4 deletions

View File

@ -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;}

View File

@ -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