Disabled the serial, output, reduced the transmit power and set the sleep duration back to 1 min

This commit is contained in:
Th3maz1ng 2021-06-06 18:05:32 +02:00
parent 6b9c05a69d
commit 2c10a560bc

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