r/ArduinoHelp • u/Charming_Relative_39 • Sep 10 '26
Arduino project problem
Hey I am new to Arduino and built a project where I’d press a button and a led lights up. But before I press the button if I get close to the button to 3 pin wire it already starts lighting up. If I press the button it does nothing and only turns off I move my hand away. I am confused on why this is happening and wanted to ask why would this happen?
1
Upvotes
View all comments
Show parent comment
1
u/Anonymity6584 Sep 11 '26
Classic first lesson of digital logic, Floating input is bad....