Light intensity sensor
Light Intensity Sensor BH1750FVI ----i2c
Module code address:rvboards/d1_demo: The demo projects for Allwinner D1 SBC (github.com)
How to run the code (requires sudo privileges).
Compile:
make
Test:
./runtest.sh
The light intensity sensor module connection diagram is shown below, please check the schematic for details.