Arduino tricolor with push button
Why it is necessary to connect cathode of rgb led to the push button?
Arduino Arduino-with-Tricolor-LED-and-Push-button 11-12 min 10-20 sec
Answers:
In this experiment, we are showing the use of push button to control the illumination of the RGB LED. Since, we are using common cathode RGB LED, to complete the circuit, we have connected one end of push button to cathode of RGB and other end to +5V pin of Arduino.