When the arduino is changing the brightness of an led using the below code hoe is it fading the led? I assumed it was changing the voltage but when I hook up a multimeter the voltage seems consistent and reads 1v.
analogWrite(led, brightness);
When the arduino is changing the brightness of an led using the below code hoe is it fading the led? I assumed it was changing the voltage but when I hook up a multimeter the voltage seems consistent and reads 1v.
analogWrite(led, brightness);
Please do not ask questions in the ‘Tutorial forum’, the ‘Programming forum’ is more appropriate.
Time for you to read about PWM.
Understood. TY.