My Leonardo has worked fine for the month or so I've had it.
Until today, when I hooked it up to two push buttons that each type a key on the keyboard. The code was correct , but it randomly fired the keys without me touching anything.
So I loaded the basic 'Button' sketch to begin troubleshooting and noticed that just moving my finger near the Digital 02 wire (which isn't connected to anything else but the Arduino) makes the on board LED turn on. :o
This forum post leads me to believe that what I am experiencing is a 'floating input pin': Digital In too sensitive - Installation & Troubleshooting - Arduino Forum
How could this have suddenly happened? It didn't used to do this and now it appears to be the issue with every digital input on the board.
Additionally, how do I make it go back to the way it used to be?
I've been using Arduino for maybe two months now, so please have mercy.
Thank your for your time.