[riot-notifications] [RIOT-OS/RIOT] drivers/bh1750: Fix mislabeled i2c address (#10694)
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
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...
More information about the notifications