/bh1750

A platform agnostic driver to interface with the BH1750 ambient light sensor.

Primary LanguageRustApache License 2.0Apache-2.0

bh1750

A platform agnostic driver to interface with the BH1750 ambient light sensor.

TODO

  • set measurement mode
  • allow secondary i2c address
  • manage sleep mode
  • read light level
  • reset
  • adjust sensor sensitivity (measurement/integration time)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.