This driver supports ROHMBH1750ambient light sensor.
NOTE: These drivers are not production-ready. They are offered as sample implementations of Android Things user space drivers for common peripherals as part of the Developer Preview release. There is no guarantee of correctness, completeness, or robustness.
How to Use the Driver
To use thebh1750driver, simply add the line below to your project'sbuild.gradle, where<version>matches the last version of the driver available onjcenter.
A sample project using the Android Things kit with iMX7D and Rainbow HAT. Basically shows the value of the light sensor on the alphanumeric display, addressable LEDs, and move a servo motor according to the actual value.