Working with two LEDs and Arduino
|2||×||Resistor (1k ohm)||707-7666|
- Blinking of two LEDs (alternating)
- Fading effect of two LEDs (alternating)
CommentsAdd a comment
Nice simple code for the dimming. Here is a challenge; make the dimming use a square law curve so the dimming will appear to be linear. ie When the loop is at 50% the light should appear to be at 50% it now appears to be 75%. This is due to the human eye perception of the intensity of light and it is not linear.