From abeee818bed96666bb41dc5b3eb0489c3faac382 Mon Sep 17 00:00:00 2001 From: TJ Downes Date: Fri, 7 Aug 2026 14:16:53 -0700 Subject: [PATCH] Scan external I2C sensors on pins 33 and 34 in the Heltec V3 observer build --- variants/heltec_v3/platformio.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/variants/heltec_v3/platformio.ini b/variants/heltec_v3/platformio.ini index 1715e36195..347cfb002b 100644 --- a/variants/heltec_v3/platformio.ini +++ b/variants/heltec_v3/platformio.ini @@ -109,6 +109,7 @@ lib_deps = [env:Heltec_v3_repeater_observer_mqtt] extends = Heltec_lora32_v3 upload_port = /dev/cu.usbserial-4 +; External I2C sensors (BMP280 etc.) on header pins 33/34, same as the Heltec_v3_sensor env extra_scripts = ${esp32_base.extra_scripts} pre:scripts/generate_cert_bundle.py @@ -142,6 +143,8 @@ build_flags = # -D MQTT_PORT=1883 # -D MQTT_USERNAME='"your-username"' # -D MQTT_PASSWORD='"your-password"' + -D ENV_PIN_SDA=33 + -D ENV_PIN_SCL=34 build_src_filter = ${Heltec_lora32_v3.build_src_filter} + +