From c3cad4d0cd52c79d8a15eaf5a1e9798e07c02b32 Mon Sep 17 00:00:00 2001 From: Pascal Sachs Date: Tue, 18 Jun 2024 18:14:44 +0200 Subject: [PATCH] Update SN to 23xxxxxxxx for i2c address change Only sensors with serial number starting with 23xxx or newer are guaranteed to support the i2c address change. Not all sensors with serial number 22xxx support the feature. --- examples/exampleI2cAddressChange/README.md | 2 +- examples/exampleI2cAddressChange/exampleI2cAddressChange.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/exampleI2cAddressChange/README.md b/examples/exampleI2cAddressChange/README.md index 62f4e71..d2686c0 100644 --- a/examples/exampleI2cAddressChange/README.md +++ b/examples/exampleI2cAddressChange/README.md @@ -60,7 +60,7 @@ sensors to the same pin on the ESP32 Board, you can for example use a Breadboard ## Limitations -- The feature is only supported by SLF3x sensors with a serial number above 22xxxxxxxx. +- The feature is only supported by SLF3x sensors with a serial number above 23xxxxxxxx. - After a soft or hard reset the I²C address is set back to the default address 0x08. A soft reset is triggered by a speical I2C command, see `i2c_soft_reset()` in the example, and a hard reset is triggered by a power cylce of the sensor. ## Further readings diff --git a/examples/exampleI2cAddressChange/exampleI2cAddressChange.ino b/examples/exampleI2cAddressChange/exampleI2cAddressChange.ino index 790d514..981e8c9 100644 --- a/examples/exampleI2cAddressChange/exampleI2cAddressChange.ino +++ b/examples/exampleI2cAddressChange/exampleI2cAddressChange.ino @@ -77,7 +77,7 @@ void i2c_soft_reset() { * after the reset) * * PIN1 of the sensor for which you want to change the address must be * connected to a GPIO pin - * * Note that only sensors with a serial number above 22xxxxxxxx have the IRQn + * * Note that only sensors with a serial number above 23xxxxxxxx have the IRQn * pin * * @note The I2C address is not configured permanently, you need to run the