You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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?The text was updated successfully, but these errors were encountered: