From 3b32e120693f0f7d256643f832f21968816557e7 Mon Sep 17 00:00:00 2001
From: matthias-bs <83612361+matthias-bs@users.noreply.github.com>
Date: Sun, 8 Oct 2023 11:07:01 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20matthias?=
=?UTF-8?q?-bs/BresserWeatherSensorReceiver@4cfca40d34d8243df63516320d8f2d?=
=?UTF-8?q?bbf5434b05=20=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
_weather_sensor_cfg_8h_source.html | 859 +++++++++++++++--------------
1 file changed, 430 insertions(+), 429 deletions(-)
diff --git a/_weather_sensor_cfg_8h_source.html b/_weather_sensor_cfg_8h_source.html
index 80a6e470..9f78bc61 100644
--- a/_weather_sensor_cfg_8h_source.html
+++ b/_weather_sensor_cfg_8h_source.html
@@ -146,440 +146,441 @@
-
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 118 #if defined(ARDUINO_TTGO_LoRa32_V1)
- 119 #pragma message("ARDUINO_TTGO_LoRa32_V1 defined; using on-board transceiver")
-
-
- 122 #elif defined(ARDUINO_TTGO_LoRa32_V2)
- 123 #pragma message("ARDUINO_TTGO_LoRa32_V2 defined; using on-board transceiver")
- 124 #pragma message("LoRa DIO1 must be wired to GPIO33 manually!")
-
-
- 127 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
- 128 #pragma message("ARDUINO_TTGO_LoRa32_V21new defined; using on-board transceiver")
-
+
+ 68 #define SENSOR_IDS_EXC { 0x792882A2 }
+
+
+
+ 72 #define SENSOR_IDS_INC {}
+
+
+
+
+
+ 78 #define SENSOR_IDS_DECODE3IN1 { 0x2C100512 }
+
+
+ 81 #define WIND_DATA_FLOATINGPOINT
+ 82 #define WIND_DATA_FIXEDPOINT
+
+
+
+ 86 #define BRESSER_5_IN_1
+ 87 #define BRESSER_6_IN_1
+ 88 #define BRESSER_7_IN_1
+ 89 #define BRESSER_LIGHTNING
+ 90 #define BRESSER_LEAKAGE
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
- 131 #elif defined(ARDUINO_heltec_wireless_stick)
- 132 #pragma message("ARDUINO_heltec_wireless_stick defined; using on-board transceiver")
-
-
- 135 #elif defined(ARDUINO_heltec_wifi_lora_32_V2)
- 136 #pragma message("ARDUINO_heltec_wifi_lora_32_V2 defined; using on-board transceiver")
-
-
- 139 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
- 140 #pragma message("ARDUINO_ADAFRUIT_FEATHER_ESP32S2 defined; assuming RFM95W FeatherWing will be used")
-
+
+
+
+
+
+
+
+
+
+
+
- 143 #elif defined(ARDUINO_FEATHER_ESP32)
- 144 #pragma message("ARDUINO_FEATHER_ESP32 defined; assuming RFM95W FeatherWing will be used")
-
- 146 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
-
- 148 #elif defined(ARDUINO_AVR_FEATHER32U4)
- 149 #pragma message("ARDUINO_AVR_FEATHER32U4 defined; assuming this is the Adafruit Feather 32u4 RFM95 LoRa Radio")
-
-
- 152 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
- 153 #pragma message("ARDUINO_ADAFRUIT_FEATHER_RP2040 defined; assuming assuming RFM95W FeatherWing will be used")
-
- 155 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
-
- 157 #elif defined(ARDUINO_ESP32_DEV)
-
- 159 #define FIREBEETLE_ESP32_COVER_LORA
-
- 161 #if !defined(LORAWAN_NODE) && !defined(FIREBEETLE_ESP32_COVER_LORA)
- 162 #pragma message("ARDUINO_ESP32_DEV defined; select either LORAWAN_NODE or FIREBEETLE_ESP32_COVER_LORA manually!")
-
- 164 #elif defined(LORAWAN_NODE)
- 165 #pragma message("LORAWAN_NODE defined; assuming this is the LoRaWAN_Node board (DFRobot Firebeetle32 + Adafruit RFM95W LoRa Radio)")
-
-
- 168 #elif defined(FIREBEETLE_ESP32_COVER_LORA)
-
- 170 #pragma message("FIREBEETLE_ESP32_COVER_LORA defined; assuming this is a FireBeetle ESP32 with FireBeetle Cover LoRa")
- 171 #pragma message("Required wiring: D2 to RESET, D3 to DIO0, D4 to CS, D5 to DIO1")
-
-
-
-
-
-
-
-
-
- 181 #if ( !defined(USE_CC1101) && !defined(USE_SX1276) )
-
-
-
-
-
-
-
-
- 190 #define NUM_SENSORS 1
-
-
- 193 #define SENSOR_IDS_EXC { 0x792882A2 }
-
-
-
- 197 #define SENSOR_IDS_INC {}
-
-
-
-
-
- 203 #define SENSOR_IDS_DECODE3IN1 { 0x2C100512 }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 224 #if defined(ESP8266) || defined(ARDUINO_ARCH_RP2040)
- 225 #define ARDUHAL_LOG_LEVEL_NONE 0
- 226 #define ARDUHAL_LOG_LEVEL_ERROR 1
- 227 #define ARDUHAL_LOG_LEVEL_WARN 2
- 228 #define ARDUHAL_LOG_LEVEL_INFO 3
- 229 #define ARDUHAL_LOG_LEVEL_DEBUG 4
- 230 #define ARDUHAL_LOG_LEVEL_VERBOSE 5
-
- 232 #if defined(ARDUINO_ARCH_RP2040) && defined(DEBUG_RP2040_PORT)
- 233 #define DEBUG_PORT DEBUG_RP2040_PORT
- 234 #elif defined(DEBUG_ESP_PORT)
- 235 #define DEBUG_PORT DEBUG_ESP_PORT
-
-
-
- 239 #define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_INFO
-
- 241 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
- 242 #define log_e(...) { DEBUG_PORT.printf("%s(), l.%d: ",__func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 244 #define log_e(...) {}
-
- 246 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_ERROR
- 247 #define log_w(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 249 #define log_w(...) {}
-
- 251 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_WARN
- 252 #define log_i(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 254 #define log_i(...) {}
-
- 256 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_INFO
- 257 #define log_d(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 259 #define log_d(...) {}
-
- 261 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_DEBUG
- 262 #define log_v(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 264 #define log_v(...) {}
-
-
-
-
-
-
-
-
- 273 #if defined(ARDUINO_ARCH_AVR)
- 274 #define ARDUHAL_LOG_LEVEL_NONE 0
- 275 #define ARDUHAL_LOG_LEVEL_ERROR 1
- 276 #define ARDUHAL_LOG_LEVEL_WARN 2
- 277 #define ARDUHAL_LOG_LEVEL_INFO 3
- 278 #define ARDUHAL_LOG_LEVEL_DEBUG 4
- 279 #define ARDUHAL_LOG_LEVEL_VERBOSE 5
-
-
- 282 #define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_INFO
-
- 284 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
- 285 #define log_e(...) { printf(__VA_ARGS__); println(); }
-
- 287 #define log_e(...) {}
-
- 289 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_ERROR
- 290 #define log_w(...) { printf(__VA_ARGS__); println(); }
-
- 292 #define log_w(...) {}
-
- 294 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_WARN
- 295 #define log_i(...) { printf(__VA_ARGS__); println(); }
-
- 297 #define log_i(...) {}
-
- 299 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_INFO
- 300 #define log_d(...) { printf(__VA_ARGS__); println(); }
-
- 302 #define log_d(...) {}
-
- 304 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_DEBUG
- 305 #define log_v(...) { printf(__VA_ARGS__); println(); }
-
- 307 #define log_v(...) {}
-
-
-
-
- 312 #define WIND_DATA_FLOATINGPOINT
- 313 #define WIND_DATA_FIXEDPOINT
-
-
-
- 317 #define BRESSER_5_IN_1
- 318 #define BRESSER_6_IN_1
- 319 #define BRESSER_7_IN_1
- 320 #define BRESSER_LIGHTNING
- 321 #define BRESSER_LEAKAGE
-
- 323 #if ( !defined(BRESSER_5_IN_1) && !defined(BRESSER_6_IN_1) && !defined(BRESSER_7_IN_1) )
- 324 #error "Either BRESSER_5_IN_1 and/or BRESSER_6_IN_1 and/or BRESSER_7_IN_1 must be defined!"
-
-
- 327 #if ( defined(USE_CC1101) && defined(USE_SX1276) )
- 328 #error "Either USE_CC1101 OR USE_SX1276 must be defined!"
-
-
- 331 #if defined(USE_CC1101)
- 332 #define RECEIVER_CHIP "[CC1101]"
- 333 #elif defined(USE_SX1276)
- 334 #define RECEIVER_CHIP "[SX1276]"
-
- 336 #error "Either USE_CC1101 or USE_SX1276 must be defined!"
-
-
+
+
+
+
+
+
+ 149 #if defined(ARDUINO_TTGO_LoRa32_V1)
+ 150 #pragma message("ARDUINO_TTGO_LoRa32_V1 defined; using on-board transceiver")
+
+
+ 153 #elif defined(ARDUINO_TTGO_LoRa32_V2)
+ 154 #pragma message("ARDUINO_TTGO_LoRa32_V2 defined; using on-board transceiver")
+ 155 #pragma message("LoRa DIO1 must be wired to GPIO33 manually!")
+
+
+ 158 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
+ 159 #pragma message("ARDUINO_TTGO_LoRa32_V21new defined; using on-board transceiver")
+
+
+ 162 #elif defined(ARDUINO_heltec_wireless_stick)
+ 163 #pragma message("ARDUINO_heltec_wireless_stick defined; using on-board transceiver")
+
+
+ 166 #elif defined(ARDUINO_heltec_wifi_lora_32_V2)
+ 167 #pragma message("ARDUINO_heltec_wifi_lora_32_V2 defined; using on-board transceiver")
+
+
+ 170 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
+ 171 #pragma message("ARDUINO_ADAFRUIT_FEATHER_ESP32S2 defined; assuming RFM95W FeatherWing will be used")
+
+
+ 174 #elif defined(ARDUINO_FEATHER_ESP32)
+ 175 #pragma message("ARDUINO_FEATHER_ESP32 defined; assuming RFM95W FeatherWing will be used")
+
+ 177 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
+
+ 179 #elif defined(ARDUINO_AVR_FEATHER32U4)
+ 180 #pragma message("ARDUINO_AVR_FEATHER32U4 defined; assuming this is the Adafruit Feather 32u4 RFM95 LoRa Radio")
+
+
+ 183 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
+ 184 #pragma message("ARDUINO_ADAFRUIT_FEATHER_RP2040 defined; assuming assuming RFM95W FeatherWing will be used")
+
+ 186 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
+
+ 188 #elif defined(ARDUINO_ESP32_DEV)
+
+ 190 #define FIREBEETLE_ESP32_COVER_LORA
+
+ 192 #if !defined(LORAWAN_NODE) && !defined(FIREBEETLE_ESP32_COVER_LORA)
+ 193 #pragma message("ARDUINO_ESP32_DEV defined; select either LORAWAN_NODE or FIREBEETLE_ESP32_COVER_LORA manually!")
+
+ 195 #elif defined(LORAWAN_NODE)
+ 196 #pragma message("LORAWAN_NODE defined; assuming this is the LoRaWAN_Node board (DFRobot Firebeetle32 + Adafruit RFM95W LoRa Radio)")
+
+
+ 199 #elif defined(FIREBEETLE_ESP32_COVER_LORA)
+
+ 201 #pragma message("FIREBEETLE_ESP32_COVER_LORA defined; assuming this is a FireBeetle ESP32 with FireBeetle Cover LoRa")
+ 202 #pragma message("Required wiring: D2 to RESET, D3 to DIO0, D4 to CS, D5 to DIO1")
+
+
+
+
+
+
+
+
+
+ 212 #if ( !defined(USE_CC1101) && !defined(USE_SX1276) )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 237 #if defined(ESP8266) || defined(ARDUINO_ARCH_RP2040)
+ 238 #define ARDUHAL_LOG_LEVEL_NONE 0
+ 239 #define ARDUHAL_LOG_LEVEL_ERROR 1
+ 240 #define ARDUHAL_LOG_LEVEL_WARN 2
+ 241 #define ARDUHAL_LOG_LEVEL_INFO 3
+ 242 #define ARDUHAL_LOG_LEVEL_DEBUG 4
+ 243 #define ARDUHAL_LOG_LEVEL_VERBOSE 5
+
+ 245 #if defined(ARDUINO_ARCH_RP2040) && defined(DEBUG_RP2040_PORT)
+ 246 #define DEBUG_PORT DEBUG_RP2040_PORT
+ 247 #elif defined(DEBUG_ESP_PORT)
+ 248 #define DEBUG_PORT DEBUG_ESP_PORT
+
+
+
+ 252 #define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_INFO
+
+ 254 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
+ 255 #define log_e(...) { DEBUG_PORT.printf("%s(), l.%d: ",__func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 257 #define log_e(...) {}
+
+ 259 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_ERROR
+ 260 #define log_w(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 262 #define log_w(...) {}
+
+ 264 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_WARN
+ 265 #define log_i(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 267 #define log_i(...) {}
+
+ 269 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_INFO
+ 270 #define log_d(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 272 #define log_d(...) {}
+
+ 274 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_DEBUG
+ 275 #define log_v(...) { DEBUG_PORT.printf("%s(), l.%d: ", __func__, __LINE__); DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
+
+ 277 #define log_v(...) {}
+
+
+
+
+
+
+
+
+ 286 #if defined(ARDUINO_ARCH_AVR)
+ 287 #define ARDUHAL_LOG_LEVEL_NONE 0
+ 288 #define ARDUHAL_LOG_LEVEL_ERROR 1
+ 289 #define ARDUHAL_LOG_LEVEL_WARN 2
+ 290 #define ARDUHAL_LOG_LEVEL_INFO 3
+ 291 #define ARDUHAL_LOG_LEVEL_DEBUG 4
+ 292 #define ARDUHAL_LOG_LEVEL_VERBOSE 5
+
+
+ 295 #define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_INFO
+
+ 297 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
+ 298 #define log_e(...) { printf(__VA_ARGS__); println(); }
+
+ 300 #define log_e(...) {}
+
+ 302 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_ERROR
+ 303 #define log_w(...) { printf(__VA_ARGS__); println(); }
+
+ 305 #define log_w(...) {}
+
+ 307 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_WARN
+ 308 #define log_i(...) { printf(__VA_ARGS__); println(); }
+
+ 310 #define log_i(...) {}
+
+ 312 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_INFO
+ 313 #define log_d(...) { printf(__VA_ARGS__); println(); }
+
+ 315 #define log_d(...) {}
+
+ 317 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_DEBUG
+ 318 #define log_v(...) { printf(__VA_ARGS__); println(); }
+
+ 320 #define log_v(...) {}
+
+
+
+ 324 #if ( !defined(BRESSER_5_IN_1) && !defined(BRESSER_6_IN_1) && !defined(BRESSER_7_IN_1) )
+ 325 #error "Either BRESSER_5_IN_1 and/or BRESSER_6_IN_1 and/or BRESSER_7_IN_1 must be defined!"
+
+
+ 328 #if ( defined(USE_CC1101) && defined(USE_SX1276) )
+ 329 #error "Either USE_CC1101 OR USE_SX1276 must be defined!"
+
+
+ 332 #if defined(USE_CC1101)
+ 333 #define RECEIVER_CHIP "[CC1101]"
+ 334 #elif defined(USE_SX1276)
+ 335 #define RECEIVER_CHIP "[SX1276]"
+
+ 337 #error "Either USE_CC1101 or USE_SX1276 must be defined!"
+
-
-
-
-
-
- 345 #if defined(LORAWAN_NODE)
-
- 347 #define PIN_RECEIVER_CS 14
-
-
- 350 #define PIN_RECEIVER_IRQ 4
-
-
- 353 #define PIN_RECEIVER_GPIO 16
-
-
- 356 #define PIN_RECEIVER_RST 12
-
- 358 #elif defined(FIREBEETLE_ESP32_COVER_LORA)
- 359 #define PIN_RECEIVER_CS 27
-
-
- 362 #define PIN_RECEIVER_IRQ 26
-
-
- 365 #define PIN_RECEIVER_GPIO 9
-
-
- 368 #define PIN_RECEIVER_RST 25
-
- 370 #elif defined(ARDUINO_TTGO_LoRa32_V1) || defined(ARDUINO_TTGO_LoRa32_V2)
-
- 372 #define PIN_RECEIVER_CS LORA_CS
-
-
- 375 #define PIN_RECEIVER_IRQ LORA_IRQ
-
-
-
- 379 #define PIN_RECEIVER_GPIO 33
-
-
- 382 #define PIN_RECEIVER_RST LORA_RST
-
- 384 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
-
-
- 387 #define PIN_RECEIVER_CS LORA_CS
-
-
- 390 #define PIN_RECEIVER_IRQ LORA_IRQ
-
-
- 393 #define PIN_RECEIVER_GPIO LORA_D1
-
-
- 396 #define PIN_RECEIVER_RST LORA_RST
-
- 398 #elif defined(ARDUINO_heltec_wireless_stick) || defined(ARDUINO_heltec_wifi_lora_32_V2)
-
- 400 #define PIN_RECEIVER_CS SS
-
-
- 403 #define PIN_RECEIVER_IRQ DIO0
-
-
- 406 #define PIN_RECEIVER_GPIO DIO1
-
-
- 409 #define PIN_RECEIVER_RST RST_LoRa
-
- 411 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
-
- 413 #define PIN_RECEIVER_CS 6
-
-
- 416 #define PIN_RECEIVER_IRQ 5
-
-
- 419 #define PIN_RECEIVER_GPIO 11
-
-
- 422 #define PIN_RECEIVER_RST 9
-
- 424 #elif defined(ARDUINO_FEATHER_ESP32)
-
- 426 #define PIN_RECEIVER_CS 14
-
-
- 429 #define PIN_RECEIVER_IRQ 32
-
-
- 432 #define PIN_RECEIVER_GPIO 33
-
-
- 435 #define PIN_RECEIVER_RST 27
-
-
-
- 439 #define PIN_RECEIVER_CS 27
-
-
- 442 #define PIN_RECEIVER_IRQ 21
-
-
- 445 #define PIN_RECEIVER_GPIO 33
-
-
- 448 #define PIN_RECEIVER_RST 32
-
- 450 #elif defined(ESP8266)
-
- 452 #define PIN_RECEIVER_CS 15
-
-
- 455 #define PIN_RECEIVER_IRQ 4
-
-
- 458 #define PIN_RECEIVER_GPIO 5
-
-
- 461 #define PIN_RECEIVER_RST 2
-
- 463 #elif defined(ARDUINO_AVR_FEATHER32U4)
-
- 465 #define PIN_RECEIVER_CS 8
-
-
- 468 #define PIN_RECEIVER_IRQ 7
-
-
- 471 #define PIN_RECEIVER_GPIO 99
-
-
- 474 #define PIN_RECEIVER_RST 4
-
- 476 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
-
- 478 #define PIN_RECEIVER_CS 7
-
-
- 481 #define PIN_RECEIVER_IRQ 8
-
-
- 484 #define PIN_RECEIVER_GPIO 10
-
-
- 487 #define PIN_RECEIVER_RST 11
-
-
-
- 491 #define STR_HELPER(x) #x
- 492 #define STR(x) STR_HELPER(x)
- 493 #pragma message("Receiver chip: " RECEIVER_CHIP)
- 494 #pragma message("Pin config: RST->" STR(PIN_RECEIVER_RST) ", CS->" STR(PIN_RECEIVER_CS) ", GD0/G0/IRQ->" STR(PIN_RECEIVER_IRQ) ", GDO2/G1/GPIO->" STR(PIN_RECEIVER_GPIO) )
-
-
+
+
+
+
+
+
+ 346 #if defined(LORAWAN_NODE)
+
+ 348 #define PIN_RECEIVER_CS 14
+
+
+ 351 #define PIN_RECEIVER_IRQ 4
+
+
+ 354 #define PIN_RECEIVER_GPIO 16
+
+
+ 357 #define PIN_RECEIVER_RST 12
+
+ 359 #elif defined(FIREBEETLE_ESP32_COVER_LORA)
+ 360 #define PIN_RECEIVER_CS 27
+
+
+ 363 #define PIN_RECEIVER_IRQ 26
+
+
+ 366 #define PIN_RECEIVER_GPIO 9
+
+
+ 369 #define PIN_RECEIVER_RST 25
+
+ 371 #elif defined(ARDUINO_TTGO_LoRa32_V1) || defined(ARDUINO_TTGO_LoRa32_V2)
+
+ 373 #define PIN_RECEIVER_CS LORA_CS
+
+
+ 376 #define PIN_RECEIVER_IRQ LORA_IRQ
+
+
+
+ 380 #define PIN_RECEIVER_GPIO 33
+
+
+ 383 #define PIN_RECEIVER_RST LORA_RST
+
+ 385 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
+
+
+ 388 #define PIN_RECEIVER_CS LORA_CS
+
+
+ 391 #define PIN_RECEIVER_IRQ LORA_IRQ
+
+
+ 394 #define PIN_RECEIVER_GPIO LORA_D1
+
+
+ 397 #define PIN_RECEIVER_RST LORA_RST
+
+ 399 #elif defined(ARDUINO_heltec_wireless_stick) || defined(ARDUINO_heltec_wifi_lora_32_V2)
+
+ 401 #define PIN_RECEIVER_CS SS
+
+
+ 404 #define PIN_RECEIVER_IRQ DIO0
+
+
+ 407 #define PIN_RECEIVER_GPIO DIO1
+
+
+ 410 #define PIN_RECEIVER_RST RST_LoRa
+
+ 412 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
+
+ 414 #define PIN_RECEIVER_CS 6
+
+
+ 417 #define PIN_RECEIVER_IRQ 5
+
+
+ 420 #define PIN_RECEIVER_GPIO 11
+
+
+ 423 #define PIN_RECEIVER_RST 9
+
+ 425 #elif defined(ARDUINO_FEATHER_ESP32)
+
+ 427 #define PIN_RECEIVER_CS 14
+
+
+ 430 #define PIN_RECEIVER_IRQ 32
+
+
+ 433 #define PIN_RECEIVER_GPIO 33
+
+
+ 436 #define PIN_RECEIVER_RST 27
+
+
+
+ 440 #define PIN_RECEIVER_CS 27
+
+
+ 443 #define PIN_RECEIVER_IRQ 21
+
+
+ 446 #define PIN_RECEIVER_GPIO 33
+
+
+ 449 #define PIN_RECEIVER_RST 32
+
+ 451 #elif defined(ESP8266)
+
+ 453 #define PIN_RECEIVER_CS 15
+
+
+ 456 #define PIN_RECEIVER_IRQ 4
+
+
+ 459 #define PIN_RECEIVER_GPIO 5
+
+
+ 462 #define PIN_RECEIVER_RST 2
+
+ 464 #elif defined(ARDUINO_AVR_FEATHER32U4)
+
+ 466 #define PIN_RECEIVER_CS 8
+
+
+ 469 #define PIN_RECEIVER_IRQ 7
+
+
+ 472 #define PIN_RECEIVER_GPIO 99
+
+
+ 475 #define PIN_RECEIVER_RST 4
+
+ 477 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
+
+ 479 #define PIN_RECEIVER_CS 7
+
+
+ 482 #define PIN_RECEIVER_IRQ 8
+
+
+ 485 #define PIN_RECEIVER_GPIO 10
+
+
+ 488 #define PIN_RECEIVER_RST 11
+
+
+
+ 492 #define STR_HELPER(x) #x
+ 493 #define STR(x) STR_HELPER(x)
+ 494 #pragma message("Receiver chip: " RECEIVER_CHIP)
+ 495 #pragma message("Pin config: RST->" STR(PIN_RECEIVER_RST) ", CS->" STR(PIN_RECEIVER_CS) ", GD0/G0/IRQ->" STR(PIN_RECEIVER_IRQ) ", GDO2/G1/GPIO->" STR(PIN_RECEIVER_GPIO) )
+
+