sottoscrivi

Accedi

A proper way to use a button and an LED - General Electronics - Arduino Forum

A proper way to use a button and an LED - General Electronics - Arduino  Forum

Could somebody please explain the reason the following circuit works "fine" (LED is on if the button is pressed) only if the Pin 12 is in the OUTPUT-mode? I need to be able to digitalRead() the button state (pressed/not pressed) and the LED should be on every time the button is pressed without using two pins (one input and one output). What is the proper way to achieve that?

Need help with wiring a metal push button with led - Project Guidance - Arduino Forum

Why doesn't this simple Push Button Circuit work? - General Electronics - Arduino Forum

Solved] Led in series with push button? - General Electronics - Arduino Forum

Wiring an Arduino with push button and LED to control turnouts. - the MRH Forum

Wire in an LED in a button matrix - General Electronics - Arduino Forum

Led Working Even If Button Not Pressed - LEDs and Multiplexing - Arduino Forum

Controlling 2 LEDs with 1 pushbutton(Beginner) - Programming Questions - Arduino Forum

Simple check of button and led circuit please - General Electronics - Arduino Forum

How Can I Detect Button Pressing? - Project Guidance - Arduino Forum

Solved] Cannot read button state (with pull down) - General Electronics - Arduino Forum