File tree Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ const char *firmware_version = {"4.1.2\n\r"};
79
79
#define RFM69_JEELIB_NATIVE 2
80
80
#define RFM69_LOW_POWER_LABS 3
81
81
82
- #define RadioFormat RFM69_LOW_POWER_LABS
82
+ // Set in platformio.ini
83
+ // #define RadioFormat RFM69_LOW_POWER_LABS
83
84
84
85
bool flash_led = false ; // true = Flash LED after each sample (increases battery drain)
85
86
Original file line number Diff line number Diff line change 1
1
[platformio]
2
- default_envs = default
2
+ default_envs = lpl
3
3
src_dir = .
4
4
# lib_dir = ../libraries
5
5
6
- [env:default ]
6
+ [common ]
7
7
platform = atmelavr
8
8
framework = arduino
9
9
board = uno
@@ -17,5 +17,26 @@ lib_deps =
17
17
OneWire
18
18
DallasTemperature
19
19
SI7021
20
- # build_flags = '-DRFM69_LPL_AES_ENCRYPTION_KEY="my-encrypted-key"'
20
+
21
+
22
+ # NEW Low Power Labs encrypted RF format (RFM69SPI compatiable)
23
+ [env:lpl]
24
+ platform = ${common.platform}
25
+ framework = ${common.framework}
26
+ board = ${common.board}
27
+ monitor_speed = ${common.monitor_speed}
28
+ lib_deps = ${common.lib_deps}
29
+ build_flags =
30
+ -D RadioFormat =RFM69_LOW_POWER_LABS
31
+ # -D RFM69_LPL_AES_ENCRYPTION_KEY="my-encrypted-key"
32
+
33
+ # OLD JeeLive Classic RS format (RFM69Pi compatiable)
34
+ [env:jeelib_classic]
35
+ platform = ${common.platform}
36
+ framework = ${common.framework}
37
+ board = ${common.board}
38
+ monitor_speed = ${common.monitor_speed}
39
+ lib_deps = ${common.lib_deps}
40
+ build_flags =
41
+ -D RadioFormat =RFM69_JEELIB_CLASSIC
21
42
You can’t perform that action at this time.
0 commit comments