My arduino is powered by 12V. I am getting some cool looking 12V led switches from amazon, but they need 12 volts to light up. My arduino will perform an override function when it detects the switch is closed. the digital pins can only handle 5V. How can I step down the 12V signal that powers the switch to the 5V that the pin can handle.
12V supply -> 12V led switch -> reduce 12V to 5V -> arduino digital pin