-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNodeConf.h
31 lines (27 loc) · 849 Bytes
/
NodeConf.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// !!!! DEVICE CONFIGURATION SETTINGS !!!!
#ifndef NodeConf_h
#define NodeConf_h
#if (ARDUINO < 100)
#include "WProgram.h"
#else
#include <Arduino.h>
#endif
/*---------------------------------------------
|
| Node Configuration Settings
|
*/
#define NODEID 1
#define NETWORKID 50
#define FREQUENCY RF69_915MHZ //Match this with the version of your Moteino! (others: RF69_433MHZ, RF69_868MHZ)
#define KEY "thisIsEncryptKey" //has to be same 16 characters/bytes on all nodes, not more not less!
#define LED 9
#define SERIAL_BAUD 115200
#define ACK_TIME 30 // # of ms to wait for an ack
#define WAIT_TIME 1000
//#define TRANSMITPERIOD 10000 // 10 Seconds
//#define TRANSMITPERIOD 120000 // 2 min
//#define TRANSMITPERIOD 300000 // 5 min
#define TRANSMITPERIOD 600000 // 10 min
#define GET_SPKL_STATUS 35000
#endif