Skip to content

Commit f720338

Browse files
Azureswordclaude
andcommitted
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 <noreply@anthropic.com>
1 parent e33d93d commit f720338

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

variants/wio-tracker-l1/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ build_flags = ${WioTrackerL1.build_flags}
9696
-D PIN_BUZZER=12
9797
-D QSPIFLASH=1
9898
-D ADVERT_NAME='"@@MAC"'
99+
-D ENV_PIN_SDA=PIN_WIRE1_SDA
100+
-D ENV_PIN_SCL=PIN_WIRE1_SCL
99101
; -D MESH_PACKET_LOGGING=1
100102
; -D MESH_DEBUG=1
101103
build_src_filter = ${WioTrackerL1.build_src_filter}

0 commit comments

Comments
 (0)