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 20-12-22, 11:30 a.m. Jashwanth2021

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.
13-03-23, 2:03 p.m. pratikjb9485


Click here to reply/comment online