This commit is contained in:
Justin E. Mann 2025-01-05 23:52:16 -07:00
parent 583f73b98c
commit 48cf17208c
3 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit c952f8a4c1c30f724743ee322dd3ec3ec2f934c4 Subproject commit 76f806e1bb1e2a7b157a14fadd095775f63db5e4

View File

@ -313,7 +313,7 @@ void ScanI2CTwoWire::scanPort(I2CPort port, uint8_t *address, uint8_t asize)
} }
break; break;
case RAK12035VB_ADDR: // (0x20) can be RAK12023VB Soil Sensor or TCA9535 I2C expander case RAK12035VB1_ADDR: // (0x20) can be RAK12023VB Soil Sensor or TCA9535 I2C expander
// Check if it is a RAK12035, if not can assume it is a TCA9535 I2C expander // Check if it is a RAK12035, if not can assume it is a TCA9535 I2C expander
// the check.. // the check..
// - registry address to interrogate is 0x02, // - registry address to interrogate is 0x02,

View File

@ -14,7 +14,7 @@ int32_t RAK12035VBSensor::runOnce()
return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS; return DEFAULT_SENSOR_MINIMUM_WAIT_TIME_BETWEEN_READS;
} }
sensor.set_sensor_addr(RAK12035VB_ADDR); sensor.set_sensor_addr(RAK12035VB1_ADDR);
sensor.begin(nodeTelemetrySensorsMap[sensorType].first); sensor.begin(nodeTelemetrySensorsMap[sensorType].first);
// Get sensor firmware version // Get sensor firmware version