Skip to content
Snippets Groups Projects
Unverified Commit 552909cf authored by Alexandre Abadie's avatar Alexandre Abadie Committed by GitHub
Browse files

Merge pull request #10694 from MrKevinWeiss/pr/bh1750fix

drivers/bh1750: Fix mislabeled i2c address
parents fd15cb8f b870dbb3
No related branches found
No related tags found
No related merge requests found
...@@ -33,14 +33,14 @@ extern "C" { ...@@ -33,14 +33,14 @@ extern "C" {
* The actual address of the device depends on the state of the ADDR pin. * The actual address of the device depends on the state of the ADDR pin.
* @{ * @{
*/ */
#define BH1750FVI_ADDR_PIN_LOW (0x5c) /**< ADDR pin := 0 */ #define BH1750FVI_ADDR_PIN_LOW (0x23) /**< ADDR pin := 0 */
#define BH1750FVI_ADDR_PIN_HIGH (0x23) /**< ADDR pin := 1 */ #define BH1750FVI_ADDR_PIN_HIGH (0x5c) /**< ADDR pin := 1 */
/** @} */ /** @} */
/** /**
* @brief Default address of BH1750FVI sensors * @brief Default address of BH1750FVI sensors
*/ */
#define BH1750FVI_DEFAULT_ADDR BH1750FVI_ADDR_PIN_HIGH #define BH1750FVI_DEFAULT_ADDR BH1750FVI_ADDR_PIN_LOW
/** /**
* @brief Maximum I2C bus speed to use with the device * @brief Maximum I2C bus speed to use with the device
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment