Open
Description
After setting up the clock and getting the clock to behave the way I want (dim slightly as it gets dark, brighten as the room is brighter), I realize I do not have a firm understanding of how these values work. For me, the LIGHT_SENSOR_SENSITIVITY
made the most sense in terms of how it affected brightness, but still not sure of the range (0-255) and how that translates to control. Similarly, what are the ranges of the min and max and how does that affect the brightness?
* \brief AnalogRead value if the light sensor reads complete darkness
*/
#define LIGHT_SENSOR_MIN 3000
/**
* \brief AnalogRead value if the light sensor reads the brightest
*/
#define LIGHT_SENSOR_MAX 0
/**
* \brief Value between 0 and 255 that determines how much the light sensor values can influence the led brightness
*/
#define LIGHT_SENSOR_SENSITIVITY 30
Metadata
Metadata
Assignees
Labels
No labels