I have spent the last few days trying to set up a proof of concept for a project I'm planning on starting. I hit a bit of a road block very early on when I couldn't even get the push button sketch to work properly (using Duemilanove). The LED would switch off while uploading the sketch and then be dimly lit once the sketch was running. Pushing the button made the LED go full brightness. I was working on a breadbaord so I thought there might be a short or some other problem with my circuit. I uploaded the sketch to use the built in LED and switch on the arduino and I still get the same problem. The strange part is though when I tightly hold the edges of the board the LED goes off and only turns on when you push the switch, as it should. Even stranger is sometimes it will turn off by itself and somehow when I put my finger near the switch, without even touching it, the LED turns on and when I pull my finger away it turns off. I can get a video of this to give you a better idea of what is going on if anyone wants.
Has anyone seen anything like this before? Is there possibly a fault on my board? Any suggestions on how I could test for a problem with the earth connection on the board?
Thanks for any help