Skip to content

Commit

Permalink
Update WeatherSensorCfg.h
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs authored Oct 30, 2024
1 parent 1a5cffb commit 2d379f7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions examples/BresserWeatherSensorMQTTCustom/src/WeatherSensorCfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
// 20240509 Fixed ARDUINO_HELTEC_WIRELESS_STICK_V3
// 20240904 Added ARDUINO_ESP32S3_DEV
// 20240910 Heltec: Fixed pin definitions
// 20241030 Added pin definitions for Maker Go ESP32C3 Supermini with Heltec HT-RA62
//
// ToDo:
// -
Expand Down Expand Up @@ -249,6 +250,11 @@
#pragma message("Connect a radio module with a supported chip.")
#pragma message("Select the chip by setting the appropriate define.")

#elif defined(ARDUINO_MAKERGO_C3_SUPERMINI)
// Maker Go ESP32C3 Supermini
#pragma message("ARDUINO_MAKERGO_C3_SUPERMINI defined; assuming Heltec HT-RA62 (SX1262) will be used")
#define USE_SX1262

#elif defined(ARDUINO_ADAFRUIT_FEATHER_RP2040)
#pragma message("ARDUINO_ADAFRUIT_FEATHER_RP2040 defined; assuming RFM95W FeatherWing will be used")
#define USE_SX1276
Expand Down Expand Up @@ -542,6 +548,19 @@
// RFM95W/SX127x - GPIOxx / CC1101 - RADIOLIB_NC
#define PIN_RECEIVER_RST 9

#elif defined(ARDUINO_MAKERGO_C3_SUPERMINI)
// Use pinning for Maker Go ESP32C3 Supermini with Heltec HT-RA62
#define PIN_RECEIVER_CS 7

// CC1101: GDO0 / RFM95W/SX127x: G0 / SX1262: DI01
#define PIN_RECEIVER_IRQ 1

// CC1101: GDO2 / RFM95W/SX127x: G1 / SX1262: BUSY
#define PIN_RECEIVER_GPIO 2

// RFM95W/SX127x - GPIOxx / CC1101 - RADIOLIB_NC / SX1262: RESET
#define PIN_RECEIVER_RST 3

#elif defined(ESP32)
// Generic pinning for ESP32 development boards
#define PIN_RECEIVER_CS 27
Expand Down

0 comments on commit 2d379f7

Please sign in to comment.