diff --git a/_weather_sensor_cfg_8h_source.html b/_weather_sensor_cfg_8h_source.html
index 47e308d6..50712a2d 100644
--- a/_weather_sensor_cfg_8h_source.html
+++ b/_weather_sensor_cfg_8h_source.html
@@ -134,450 +134,451 @@
-
-
-
-
-
- 56 #if !defined(WEATHER_SENSOR_CFG_H)
- 57 #define WEATHER_SENSOR_CFG_H
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 57 #if !defined(WEATHER_SENSOR_CFG_H)
+ 58 #define WEATHER_SENSOR_CFG_H
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 117 #if defined(ARDUINO_TTGO_LoRa32_V1)
- 118 #pragma message("ARDUINO_TTGO_LoRa32_V1 defined; using on-board transceiver")
-
-
- 121 #elif defined(ARDUINO_TTGO_LoRa32_V2)
- 122 #pragma message("ARDUINO_TTGO_LoRa32_V2 defined; using on-board transceiver")
- 123 #pragma message("LoRa DIO1 must be wired to GPIO33 manually!")
-
-
- 126 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
- 127 #pragma message("ARDUINO_TTGO_LoRa32_V21new defined; using on-board transceiver")
-
-
- 130 #elif defined(ARDUINO_heltec_wireless_stick)
- 131 #pragma message("ARDUINO_heltec_wireless_stick defined; using on-board transceiver")
-
-
- 134 #elif defined(ARDUINO_heltec_wifi_lora_32_V2)
- 135 #pragma message("ARDUINO_heltec_wifi_lora_32_V2 defined; using on-board transceiver")
-
-
- 138 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
- 139 #pragma message("ARDUINO_ADAFRUIT_FEATHER_ESP32S2 defined; assuming RFM95W FeatherWing will be used")
-
-
- 142 #elif defined(ARDUINO_FEATHER_ESP32)
- 143 #pragma message("ARDUINO_FEATHER_ESP32 defined; assuming RFM95W FeatherWing will be used")
-
- 145 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
-
- 147 #elif defined(ARDUINO_AVR_FEATHER32U4)
- 148 #pragma message("ARDUINO_AVR_FEATHER32U4 defined; assuming this is the Adafruit Feather 32u4 RFM95 LoRa Radio")
-
-
- 151 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
- 152 #pragma message("ARDUINO_ADAFRUIT_FEATHER_RP2040 defined; assuming assuming RFM95W FeatherWing will be used")
-
- 154 #pragma message("Required wiring: A to RST, B to DIO1, D to DIO0, E to CS")
-
- 156 #elif defined(ARDUINO_ESP32_DEV)
-
- 158 #define FIREBEETLE_ESP32_COVER_LORA
-
- 160 #if !defined(LORAWAN_NODE) && !defined(FIREBEETLE_ESP32_COVER_LORA)
- 161 #pragma message("ARDUINO_ESP32_DEV defined; select either LORAWAN_NODE or FIREBEETLE_ESP32_COVER_LORA manually!")
-
- 163 #elif defined(LORAWAN_NODE)
- 164 #pragma message("LORAWAN_NODE defined; assuming this is the LoRaWAN_Node board (DFRobot Firebeetle32 + Adafruit RFM95W LoRa Radio)")
-
-
- 167 #elif defined(FIREBEETLE_ESP32_COVER_LORA)
-
- 169 #pragma message("FIREBEETLE_ESP32_COVER_LORA defined; assuming this is a FireBeetle ESP32 with FireBeetle Cover LoRa")
- 170 #pragma message("Required wiring: D2 to RESET, D3 to DIO0, D4 to CS, D5 to DIO1")
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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")
+
+
+ 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")
+
+
+
-
-
-
-
- 180 #if ( !defined(USE_CC1101) && !defined(USE_SX1276) )
-
-
-
-
+
+
+
+
+
+ 181 #if ( !defined(USE_CC1101) && !defined(USE_SX1276) )
+
+
+
-
-
-
- 189 #define NUM_SENSORS 1
-
-
- 192 #define SENSOR_IDS_EXC { 0x792882A2 }
-
-
-
- 196 #define SENSOR_IDS_INC {}
-
-
-
-
-
- 202 #define SENSOR_IDS_DECODE3IN1 { 0x2C100512 }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 223 #if defined(ESP8266) || defined(ARDUINO_ARCH_RP2040)
- 224 #define ARDUHAL_LOG_LEVEL_NONE 0
- 225 #define ARDUHAL_LOG_LEVEL_ERROR 1
- 226 #define ARDUHAL_LOG_LEVEL_WARN 2
- 227 #define ARDUHAL_LOG_LEVEL_INFO 3
- 228 #define ARDUHAL_LOG_LEVEL_DEBUG 4
- 229 #define ARDUHAL_LOG_LEVEL_VERBOSE 5
-
- 231 #if defined(ARDUINO_ARCH_RP2040) && defined(DEBUG_RP2040_PORT)
- 232 #define DEBUG_PORT DEBUG_RP2040_PORT
- 233 #elif defined(DEBUG_ESP_PORT)
- 234 #define DEBUG_PORT DEBUG_ESP_PORT
-
-
-
- 238 #define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_DEBUG
-
- 240 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
- 241 #define log_e(...) { DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 243 #define log_e(...) {}
-
- 245 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_ERROR
- 246 #define log_w(...) { DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 248 #define log_w(...) {}
-
- 250 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_WARN
- 251 #define log_i(...) { DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 253 #define log_i(...) {}
-
- 255 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_INFO
- 256 #define log_d(...) { DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 258 #define log_d(...) {}
-
- 260 #if defined(DEBUG_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_DEBUG
- 261 #define log_v(...) { DEBUG_PORT.printf(__VA_ARGS__); DEBUG_PORT.println(); }
-
- 263 #define log_v(...) {}
-
-
-
-
+
+
+
+
+ 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(...) {}
+
+
+
-
-
-
- 272 #if defined(ARDUINO_ARCH_AVR)
- 273 #define ARDUHAL_LOG_LEVEL_NONE 0
- 274 #define ARDUHAL_LOG_LEVEL_ERROR 1
- 275 #define ARDUHAL_LOG_LEVEL_WARN 2
- 276 #define ARDUHAL_LOG_LEVEL_INFO 3
- 277 #define ARDUHAL_LOG_LEVEL_DEBUG 4
- 278 #define ARDUHAL_LOG_LEVEL_VERBOSE 5
-
-
- 281 #define CORE_DEBUG_LEVEL ARDUHAL_LOG_LEVEL_INFO
-
- 283 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_NONE
- 284 #define log_e(...) { printf(__VA_ARGS__); println(); }
-
- 286 #define log_e(...) {}
-
- 288 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_ERROR
- 289 #define log_w(...) { printf(__VA_ARGS__); println(); }
-
- 291 #define log_w(...) {}
-
- 293 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_WARN
- 294 #define log_i(...) { printf(__VA_ARGS__); println(); }
-
- 296 #define log_i(...) {}
-
- 298 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_INFO
- 299 #define log_d(...) { printf(__VA_ARGS__); println(); }
-
- 301 #define log_d(...) {}
-
- 303 #if defined(DEBUG_ESP_PORT) && CORE_DEBUG_LEVEL > ARDUHAL_LOG_LEVEL_DEBUG
- 304 #define log_v(...) { printf(__VA_ARGS__); println(); }
-
- 306 #define log_v(...) {}
-
-
-
-
- 311 #define WIND_DATA_FLOATINGPOINT
- 312 #define WIND_DATA_FIXEDPOINT
-
-
- 315 #define BRESSER_5_IN_1
- 316 #define BRESSER_6_IN_1
- 317 #define BRESSER_7_IN_1
- 318 #define BRESSER_LIGHTNING
- 319 #define BRESSER_LEAKAGE
-
- 321 #if ( !defined(BRESSER_5_IN_1) && !defined(BRESSER_6_IN_1) && !defined(BRESSER_7_IN_1) )
- 322 #error "Either BRESSER_5_IN_1 and/or BRESSER_6_IN_1 and/or BRESSER_7_IN_1 must be defined!"
-
-
- 325 #if ( defined(USE_CC1101) && defined(USE_SX1276) )
- 326 #error "Either USE_CC1101 OR USE_SX1276 must be defined!"
-
-
- 329 #if defined(USE_CC1101)
- 330 #define RECEIVER_CHIP "[CC1101]"
- 331 #elif defined(USE_SX1276)
- 332 #define RECEIVER_CHIP "[SX1276]"
-
- 334 #error "Either USE_CC1101 or USE_SX1276 must be defined!"
-
-
+
+
+
+
+ 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
+
+
+ 316 #define BRESSER_5_IN_1
+ 317 #define BRESSER_6_IN_1
+ 318 #define BRESSER_7_IN_1
+ 319 #define BRESSER_LIGHTNING
+ 320 #define BRESSER_LEAKAGE
+
+ 322 #if ( !defined(BRESSER_5_IN_1) && !defined(BRESSER_6_IN_1) && !defined(BRESSER_7_IN_1) )
+ 323 #error "Either BRESSER_5_IN_1 and/or BRESSER_6_IN_1 and/or BRESSER_7_IN_1 must be defined!"
+
+
+ 326 #if ( defined(USE_CC1101) && defined(USE_SX1276) )
+ 327 #error "Either USE_CC1101 OR USE_SX1276 must be defined!"
+
+
+ 330 #if defined(USE_CC1101)
+ 331 #define RECEIVER_CHIP "[CC1101]"
+ 332 #elif defined(USE_SX1276)
+ 333 #define RECEIVER_CHIP "[SX1276]"
+
+ 335 #error "Either USE_CC1101 or USE_SX1276 must be defined!"
+
-
-
-
-
-
- 343 #if defined(LORAWAN_NODE)
-
- 345 #define PIN_RECEIVER_CS 14
-
-
- 348 #define PIN_RECEIVER_IRQ 4
-
-
- 351 #define PIN_RECEIVER_GPIO 16
-
-
- 354 #define PIN_RECEIVER_RST 12
-
- 356 #elif defined(FIREBEETLE_ESP32_COVER_LORA)
- 357 #define PIN_RECEIVER_CS 27
-
-
- 360 #define PIN_RECEIVER_IRQ 26
-
-
- 363 #define PIN_RECEIVER_GPIO 9
-
-
- 366 #define PIN_RECEIVER_RST 25
-
- 368 #elif defined(ARDUINO_TTGO_LoRa32_V1) || defined(ARDUINO_TTGO_LoRa32_V2)
-
- 370 #define PIN_RECEIVER_CS LORA_CS
-
-
- 373 #define PIN_RECEIVER_IRQ LORA_IRQ
-
-
-
- 377 #define PIN_RECEIVER_GPIO 33
-
-
- 380 #define PIN_RECEIVER_RST LORA_RST
-
- 382 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
-
-
- 385 #define PIN_RECEIVER_CS LORA_CS
-
-
- 388 #define PIN_RECEIVER_IRQ LORA_IRQ
-
-
- 391 #define PIN_RECEIVER_GPIO LORA_D1
-
-
- 394 #define PIN_RECEIVER_RST LORA_RST
-
- 396 #elif defined(ARDUINO_heltec_wireless_stick) || defined(ARDUINO_heltec_wifi_lora_32_V2)
-
- 398 #define PIN_RECEIVER_CS SS
-
-
- 401 #define PIN_RECEIVER_IRQ DIO0
-
-
- 404 #define PIN_RECEIVER_GPIO DIO1
-
-
- 407 #define PIN_RECEIVER_RST RST_LoRa
-
- 409 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
-
- 411 #define PIN_RECEIVER_CS 6
-
-
- 414 #define PIN_RECEIVER_IRQ 5
-
-
- 417 #define PIN_RECEIVER_GPIO 11
-
-
- 420 #define PIN_RECEIVER_RST 9
-
- 422 #elif defined(ARDUINO_FEATHER_ESP32)
-
- 424 #define PIN_RECEIVER_CS 14
-
-
- 427 #define PIN_RECEIVER_IRQ 32
-
-
- 430 #define PIN_RECEIVER_GPIO 33
-
-
- 433 #define PIN_RECEIVER_RST 27
-
-
-
- 437 #define PIN_RECEIVER_CS 27
-
-
- 440 #define PIN_RECEIVER_IRQ 21
-
-
- 443 #define PIN_RECEIVER_GPIO 33
-
-
- 446 #define PIN_RECEIVER_RST 32
-
- 448 #elif defined(ESP8266)
-
- 450 #define PIN_RECEIVER_CS 15
-
-
- 453 #define PIN_RECEIVER_IRQ 4
-
-
- 456 #define PIN_RECEIVER_GPIO 5
-
-
- 459 #define PIN_RECEIVER_RST 2
-
- 461 #elif defined(ARDUINO_AVR_FEATHER32U4)
-
- 463 #define PIN_RECEIVER_CS 8
-
-
- 466 #define PIN_RECEIVER_IRQ 7
-
-
- 469 #define PIN_RECEIVER_GPIO 99
-
-
- 472 #define PIN_RECEIVER_RST 4
-
- 474 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
-
- 476 #define PIN_RECEIVER_CS 7
-
-
- 479 #define PIN_RECEIVER_IRQ 8
-
-
- 482 #define PIN_RECEIVER_GPIO 10
-
-
- 485 #define PIN_RECEIVER_RST 11
-
-
-
- 489 #define STR_HELPER(x) #x
- 490 #define STR(x) STR_HELPER(x)
- 491 #pragma message("Receiver chip: " RECEIVER_CHIP)
- 492 #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) )
-
-
+
+
+
+
+
+
+ 344 #if defined(LORAWAN_NODE)
+
+ 346 #define PIN_RECEIVER_CS 14
+
+
+ 349 #define PIN_RECEIVER_IRQ 4
+
+
+ 352 #define PIN_RECEIVER_GPIO 16
+
+
+ 355 #define PIN_RECEIVER_RST 12
+
+ 357 #elif defined(FIREBEETLE_ESP32_COVER_LORA)
+ 358 #define PIN_RECEIVER_CS 27
+
+
+ 361 #define PIN_RECEIVER_IRQ 26
+
+
+ 364 #define PIN_RECEIVER_GPIO 9
+
+
+ 367 #define PIN_RECEIVER_RST 25
+
+ 369 #elif defined(ARDUINO_TTGO_LoRa32_V1) || defined(ARDUINO_TTGO_LoRa32_V2)
+
+ 371 #define PIN_RECEIVER_CS LORA_CS
+
+
+ 374 #define PIN_RECEIVER_IRQ LORA_IRQ
+
+
+
+ 378 #define PIN_RECEIVER_GPIO 33
+
+
+ 381 #define PIN_RECEIVER_RST LORA_RST
+
+ 383 #elif defined(ARDUINO_TTGO_LoRa32_v21new)
+
+
+ 386 #define PIN_RECEIVER_CS LORA_CS
+
+
+ 389 #define PIN_RECEIVER_IRQ LORA_IRQ
+
+
+ 392 #define PIN_RECEIVER_GPIO LORA_D1
+
+
+ 395 #define PIN_RECEIVER_RST LORA_RST
+
+ 397 #elif defined(ARDUINO_heltec_wireless_stick) || defined(ARDUINO_heltec_wifi_lora_32_V2)
+
+ 399 #define PIN_RECEIVER_CS SS
+
+
+ 402 #define PIN_RECEIVER_IRQ DIO0
+
+
+ 405 #define PIN_RECEIVER_GPIO DIO1
+
+
+ 408 #define PIN_RECEIVER_RST RST_LoRa
+
+ 410 #elif defined(ARDUINO_ADAFRUIT_FEATHER_ESP32S2)
+
+ 412 #define PIN_RECEIVER_CS 6
+
+
+ 415 #define PIN_RECEIVER_IRQ 5
+
+
+ 418 #define PIN_RECEIVER_GPIO 11
+
+
+ 421 #define PIN_RECEIVER_RST 9
+
+ 423 #elif defined(ARDUINO_FEATHER_ESP32)
+
+ 425 #define PIN_RECEIVER_CS 14
+
+
+ 428 #define PIN_RECEIVER_IRQ 32
+
+
+ 431 #define PIN_RECEIVER_GPIO 33
+
+
+ 434 #define PIN_RECEIVER_RST 27
+
+
+
+ 438 #define PIN_RECEIVER_CS 27
+
+
+ 441 #define PIN_RECEIVER_IRQ 21
+
+
+ 444 #define PIN_RECEIVER_GPIO 33
+
+
+ 447 #define PIN_RECEIVER_RST 32
+
+ 449 #elif defined(ESP8266)
+
+ 451 #define PIN_RECEIVER_CS 15
+
+
+ 454 #define PIN_RECEIVER_IRQ 4
+
+
+ 457 #define PIN_RECEIVER_GPIO 5
+
+
+ 460 #define PIN_RECEIVER_RST 2
+
+ 462 #elif defined(ARDUINO_AVR_FEATHER32U4)
+
+ 464 #define PIN_RECEIVER_CS 8
+
+
+ 467 #define PIN_RECEIVER_IRQ 7
+
+
+ 470 #define PIN_RECEIVER_GPIO 99
+
+
+ 473 #define PIN_RECEIVER_RST 4
+
+ 475 #elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
+
+ 477 #define PIN_RECEIVER_CS 7
+
+
+ 480 #define PIN_RECEIVER_IRQ 8
+
+
+ 483 #define PIN_RECEIVER_GPIO 10
+
+
+ 486 #define PIN_RECEIVER_RST 11
+
+
+
+ 490 #define STR_HELPER(x) #x
+ 491 #define STR(x) STR_HELPER(x)
+ 492 #pragma message("Receiver chip: " RECEIVER_CHIP)
+ 493 #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) )
+
+