Browse Source

Fix WioTrackerL1 BLE companion: route sensors to Grove I2C bus (Wire1)

Sensors connected via the Grove I2C connector (D18/D17) were not detected
because the firmware scanned the OLED I2C bus (Wire, D14/D15) by default.
Adding ENV_PIN_SDA/SCL flags directs EnvironmentSensorManager to use Wire1,
matching the physical Grove connector pinout.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
pull/1669/head
dylan 4 months ago
parent
commit
f720338c03
  1. 2
      variants/wio-tracker-l1/platformio.ini

2
variants/wio-tracker-l1/platformio.ini

@ -96,6 +96,8 @@ build_flags = ${WioTrackerL1.build_flags}
-D PIN_BUZZER=12
-D QSPIFLASH=1
-D ADVERT_NAME='"@@MAC"'
-D ENV_PIN_SDA=PIN_WIRE1_SDA
-D ENV_PIN_SCL=PIN_WIRE1_SCL
; -D MESH_PACKET_LOGGING=1
; -D MESH_DEBUG=1
build_src_filter = ${WioTrackerL1.build_src_filter}

Loading…
Cancel
Save