theCore C++ embedded framework
bh1750.hpp File Reference

BH1750 Digital 16bit Serial Output Type Ambient Light Sensor IC See, https://e-radionica.com/productdata/BH1750FVI.pdf. More...

#include <ecl/err.hpp>
#include <ecl/thread/thread.hpp>
Include dependency graph for bh1750.hpp:

Data Structures

class  ecl::sensor::bh1750< i2c_dev, address >
 BH1750 Ambient Light sensor driver implementation. More...
 

Namespaces

 ecl
 
 ecl::sensor
 
 ecl::sensor::bh1750_cfg
 This namespace contains sensor specific parameters.
 

Enumerations

enum  ecl::sensor::bh1750_cfg::i2c_address { ecl::sensor::bh1750_cfg::i2c_address::low, ecl::sensor::bh1750_cfg::i2c_address::high }
 Represents I2C slave address for BH1750 sensor. More...
 
enum  ecl::sensor::bh1750_cfg::resolution { ecl::sensor::bh1750_cfg::resolution::low, ecl::sensor::bh1750_cfg::resolution::high, ecl::sensor::bh1750_cfg::resolution::high2 }
 Represents resolution mode BH1750 sensor. More...
 

Detailed Description

BH1750 Digital 16bit Serial Output Type Ambient Light Sensor IC See, https://e-radionica.com/productdata/BH1750FVI.pdf.