Should I use 1K resister for switch on arduino?
June 12, 2011
I know this is basic question but not sure if I did it right? I use the switch as picture shown below. Do I need to connect 1K ohm in digital pin in order to get digitalread() "1" or "0" in result?
The result I got looks funny. I have 3 of those switchs in MEGA board. The result seems delay or sometime it trigger the pin beside it as well. It's a bit hard to debug unstable result. Hope anyone could help me. Thanks!