I have an IR LED connected to a pin that has ADC. It takes an analog value and converts it into a digital number (0-255). This number represents the light level and the LEDs are turn on based on how much light the IR LED sees.
how do you dim the lights or is it becouse the values are oscilating between the treshold of values of one led and the other that makes that effect...??
I have an IR LED connected to a pin that has ADC. It takes an analog value and converts it into a digital number (0-255). This number represents the light level and the LEDs are turn on based on how much light the IR LED sees.
Spanky85 1 year ago
how do you dim the lights or is it becouse the values are oscilating between the treshold of values of one led and the other that makes that effect...??
nicotrial 1 year ago