modm API documentation
modm::Vl6180< I2cMaster >::Data Struct Reference

Public Member Functions

uint8_t getDistance ()
 
float getAmbientLight ()
 

Friends

template<class I2cMaster >
class Vl6180
 

Member Function Documentation

template<typename I2cMaster >
float modm::Vl6180< I2cMaster >::Data::getAmbientLight ( )
inline
Returns
the ambient light in calibrated LUX, values depend on chosen analog gain!
template<typename I2cMaster >
uint8_t modm::Vl6180< I2cMaster >::Data::getDistance ( )
inline
Returns
the distance in millimeters, 255 if error

The documentation for this struct was generated from the following file: