Renamed the payload type + few minor changes
This commit is contained in:
parent
8fc4976ac8
commit
2a822f5bce
@ -19,9 +19,9 @@
|
||||
#define VOLTAGE_DIV_COEFF 1.3125 //(R1 + R2)/R2
|
||||
|
||||
//NRF Radio config part
|
||||
#define RADIO_CHANNEL 108
|
||||
#define RADIO_CHANNEL 108 //0-125
|
||||
#define RADIO_NODE_ADDRESS "WEST1" //Weather Station 1
|
||||
#define RADIO_PA_LEVEL RF24_PA_LOW //RF24_PA_MIN,RF24_PA_LOW,RF24_PA_HIGH,RF24_PA_MAX
|
||||
#define RADIO_PA_LEVEL RF24_PA_HIGH //RF24_PA_MIN,RF24_PA_LOW,RF24_PA_HIGH,RF24_PA_MAX
|
||||
#define ENABLE_LNA false //true or false
|
||||
#define RADIO_DATARATE RF24_250KBPS
|
||||
|
||||
@ -58,6 +58,6 @@ typedef struct
|
||||
float humidity;
|
||||
float compensatedHumidity;
|
||||
float htuTemp;
|
||||
} DataPacket __attribute__((__packed__));
|
||||
} __attribute__((__packed__)) WeatherStationDataPacket;
|
||||
|
||||
#endif //DEFINITION_H
|
||||
|
Loading…
Reference in New Issue
Block a user