Dezibot 4
|
#include <ColorDetection.h>
Public Member Functions | |
void | beginAutoMode () |
Start RBGW sensor with default configuration. More... | |
void | configure (VEML_CONFIG config) |
Begin RGBW sensor with passed configuration values. More... | |
uint16_t | getColorValue (color color) |
Get color value of RGBW sensor. More... | |
float | getAmbientLight () |
Get the ambient light in lux. More... | |
Protected Attributes | |
VEML6040 | rgbwSensor |
Definition at line 55 of file ColorDetection.h.
void ColorDetection::beginAutoMode | ( | ) |
Start RBGW sensor with default configuration.
Definition at line 3 of file ColorDetection.cpp.
void ColorDetection::configure | ( | VEML_CONFIG | config | ) |
Begin RGBW sensor with passed configuration values.
config | configuration for VEML6040 sensor |
Definition at line 11 of file ColorDetection.cpp.
float ColorDetection::getAmbientLight | ( | ) |
Get the ambient light in lux.
Definition at line 59 of file ColorDetection.cpp.
uint16_t ColorDetection::getColorValue | ( | color | color | ) |
Get color value of RGBW sensor.
color | RGBW color which to get |
Definition at line 43 of file ColorDetection.cpp.
|
protected |
Definition at line 86 of file ColorDetection.h.