1
- /*****************************************************************************/
2
- /*** Encryption ***/
3
- /*****************************************************************************/
4
- // encryption is OPTIONAL by compilation switch
5
- // encryption will encrypt the RF packages and the EEPROM content.
6
- // to enable encryption you will need to:
7
- // - provide a 16-byte encryption KEY (same on all nodes that talk encrypted)
8
- // - set the varable ENCRYPTION_ENABLE to 1 in the EEPROM, at runtime in Cfg.EncryptionEnable
9
-
10
- // comment the following line if you don't want to encrypt RF message traffic
11
- // it is STRONGLY recommended to change de Key below to your own 16-Byte Password
12
- #define KEY "TheQuickBrownFox"
13
- #ifndef KEY
14
- #warning NO ENCRYPTION KEY DEFINED
15
- #define KEY NULL
16
- #endif
17
-
18
- /*****************************************************************************/
19
- /*** Debug Modes ***/
20
- /*****************************************************************************/
21
- // comment the following line for test purposes. If commented, the radio won't be used and
22
- // a alternative loop function is compiled
23
- #define USE_RADIO
24
-
25
- // comment the follwing line if you want to use the radio, but just
26
- // skip sending a pulse (useful for debugging)
27
- #define SEND_BURST
28
-
29
- // Battery test enables a test message on even counts. the standard message protocol is then
30
- // abused to transmit a 24 bit count in the fileds count, humidity, flags. The temperature field is used to transmit
31
- // idle voltage, the vcc field is used to transmit idle voltage.
32
-
33
- //#define BATTERYTEST
34
-
35
- // enable debugging messages : there are two verbose levels: 1 and 2
36
- #define DEBUG 0
37
-
38
-
39
- /*****************************************************************************/
40
- /*** Serial Port ***/
41
- /*****************************************************************************/
42
- // Baud rate of serial port
43
- #define SERIAL_BAUD 57600
44
-
45
-
46
- /*****************************************************************************/
47
- /*** One-Wire and DS18B20 Temperature Sensors ***/
48
- /*****************************************************************************/
49
- // using DS18B20 is not recommended, the conversion time takes much longer
50
- // (700-900 ms) than with I2C based sensors (<50ms).
51
-
52
- //#define USE_DS18B20
53
-
54
-
55
- /****************************************************************************/
56
- /********** MAX31865 PT100(0) **********/
57
- /****************************************************************************/
58
- // comment out the following line for use of a MAX31865 ADC with a PT100 or PT1000
59
-
60
- //#define USE_MAX31865
61
-
62
-
63
- /****************************************************************************/
64
- /********** MAX31855 k-Type Thermocouple **********/
65
- /****************************************************************************/
66
- // comment out the following line for use of a k-type Thermocouple with MAX31855
67
-
68
- //#define USE_MAX31855
69
-
70
-
71
- /****************************************************************************/
72
- /********** ADS1120 ADC **********/
73
- /****************************************************************************/
74
- // comment out the following line for use of a k-type Thermocouple with ADS1120
75
- #define USE_ADS1120
76
-
77
- // specify whether you want to use the interrupt method (recommended) or the polling method (saves one GPIO)
78
- #if defined USE_ADS1120
79
- #define ADS1120_DOSLEEP 1 // 1= use sleep method, 0 = use polling method
1
+ /*****************************************************************************/
2
+ /*** Encryption ***/
3
+ /*****************************************************************************/
4
+ // encryption is OPTIONAL by compilation switch
5
+ // encryption will encrypt the RF packages and the EEPROM content.
6
+ // to enable encryption you will need to:
7
+ // - provide a 16-byte encryption KEY (same on all nodes that talk encrypted)
8
+ // - set the varable ENCRYPTION_ENABLE to 1 in the EEPROM, at runtime in Cfg.EncryptionEnable
9
+
10
+ // comment the following line if you don't want to encrypt RF message traffic
11
+ // it is STRONGLY recommended to change de Key below to your own 16-Byte Password
12
+ #define KEY "TheQuickBrownFox"
13
+ #ifndef KEY
14
+ #warning NO ENCRYPTION KEY DEFINED
15
+ #define KEY NULL
16
+ #endif
17
+
18
+ /*****************************************************************************/
19
+ /*** Debug Modes ***/
20
+ /*****************************************************************************/
21
+ // comment the following line for test purposes. If commented, the radio won't be used and
22
+ // a alternative loop function is compiled
23
+ #define USE_RADIO
24
+
25
+ // comment the follwing line if you want to use the radio, but just
26
+ // skip sending a pulse (useful for debugging)
27
+ #define SEND_BURST
28
+
29
+ // Battery test enables a test message on even counts. the standard message protocol is then
30
+ // abused to transmit a 24 bit count in the fileds count, humidity, flags. The temperature field is used to transmit
31
+ // idle voltage, the vcc field is used to transmit idle voltage.
32
+
33
+ //#define BATTERYTEST
34
+
35
+ // enable debugging messages : there are two verbose levels: 1 and 2
36
+ #define DEBUG 0
37
+
38
+
39
+ /*****************************************************************************/
40
+ /*** Serial Port ***/
41
+ /*****************************************************************************/
42
+ // Baud rate of serial port
43
+ #define SERIAL_BAUD 57600
44
+
45
+
46
+ /*****************************************************************************/
47
+ /*** One-Wire and DS18B20 Temperature Sensors ***/
48
+ /*****************************************************************************/
49
+ // using DS18B20 is not recommended, the conversion time takes much longer
50
+ // (700-900 ms) than with I2C based sensors (<50ms).
51
+
52
+ //#define USE_DS18B20
53
+
54
+
55
+ /****************************************************************************/
56
+ /********** MAX31865 PT100(0) **********/
57
+ /****************************************************************************/
58
+ // comment out the following line for use of a MAX31865 ADC with a PT100 or PT1000
59
+
60
+ //#define USE_MAX31865
61
+
62
+
63
+ /****************************************************************************/
64
+ /********** MAX6675 k-Type Thermocouple **********/
65
+ /****************************************************************************/
66
+ // obsolete Chip. Use MAX31855 instead
67
+ // comment out the following line for use of a k-type Thermocouple with MAX6675
68
+
69
+ //#define USE_MAX6675
70
+
71
+
72
+ /****************************************************************************/
73
+ /********** MAX31855 k-Type Thermocouple **********/
74
+ /****************************************************************************/
75
+ // comment out the following line for use of a k-type Thermocouple with MAX31855
76
+
77
+ //#define USE_MAX31855
78
+
79
+
80
+ /****************************************************************************/
81
+ /********** ADS1120 ADC **********/
82
+ /****************************************************************************/
83
+ // comment out the following line for use of a k-type Thermocouple with ADS1120
84
+ // #define USE_ADS1120
85
+
86
+ // specify whether you want to use the interrupt method (recommended) or the polling method (saves one GPIO)
87
+ #if defined USE_ADS1120
88
+ #define ADS1120_DOSLEEP 1 // 1= use sleep method, 0 = use polling method
80
89
#endif
0 commit comments