I used a physical line and a digital line to switch the lighting LED. The LED which was controlled by digital had a fading effect. At the beginning when the switch button was unclosed, the fading LED is lighting and gave the fading effect. When the button was closed, the fading LED turned off, but the other LED turned on.

bread schem pcb

Leave a Reply

Your email address will not be published.