Add the default constructors to gateway sketches

This commit is contained in:
Henrik Ekblad
2015-03-09 22:58:05 +01:00
parent ec5e64b6bf
commit 7e6aa8bda8
4 changed files with 26 additions and 4 deletions
+1
View File
@@ -31,6 +31,7 @@
#define RF24_CE_PIN 9
#define RF24_CS_PIN 10
#define RF24_PA_LEVEL RF24_PA_MAX
#define RF24_PA_LEVEL_GW RF24_PA_LOW
#define RF24_CHANNEL 76 //RF channel for the sensor net, 0-127
#define RF24_DATARATE RF24_250KBPS //RF24_250KBPS for 250kbs, RF24_1MBPS for 1Mbps, or RF24_2MBPS for 2Mbps
#define RF24_BASE_RADIO_ID ((uint64_t)0xA8A8E1FC00LL) // This is also act as base value for sensor nodeId addresses. Change this (or channel) if you have more than one sensor network.