I am working on the mega 2560 most complete starter kit lesson 5 digital input using two push buttons to control the led light. I wired the project exactly like the tutorial (I believe so) as the tutorial. the leg of resistor is not very clear but one is in the same column with the led light, another is same column as the red wire.
Once done, I found that my left button turn off the light when pushed done but the light is back on when released. My right button does nothing. The light is on no matter if i push it or not.
Is this correct? I feel it is not. But i am not sure which part is wrong.
Thanks!
Wow you guys are good! Thanks!!!
I now fixed that. Now the issue is
the light is on when i plugged in the board, not like the example that the light is off first, and response to left button to be on, right button to be off
You should start from everything removed. When you re-assemble it, be very attentive. The code is right, the drawing is right, the only thing that remains is you.
That is good. We all should continue to learn, always. Know when to ask questions, which might be difficult ("What question do I ask?"... "All of them.") With learning and practice, you will be independent.
If you prefer not to draw by hand, I found the following web tool very easy to learn:
There are ways to download your diagrams, but for purposes of the forum, it would be simpler just to screenshot any diagrams that you make using circuit-diagram.org.