[riot-notifications] [RIOT-OS/RIOT] drivers/bh1750: Fix mislabeled i2c address (#10694)

MrKevinWeiss notifications at github.com
Thu Jan 3 09:12:52 CET 2019

### Contribution description

The i2c address when the pin is high/low are swapped.
This swaps them to match the datasheet and changes the default to low.

### Testing procedure

Connect a board and run the tests/driver_bh1750 with the addr pin low, it should work by default.  Pull it high and set the pin high.

Or just read the datasheet, only macro names were swapped no actual values.

### Issues/PRs references
Fixes #10628
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * drivers/bh1750: Fix mislabeled i2c address

-- File Changes --

    M drivers/include/bh1750fvi.h (6)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190103/c0066536/attachment.html>

More information about the notifications mailing list