Hi there!
I took delivery of my Arduino this week, and have so far been doing some really basic things (making leds (with resistors, of course) blink, that sort of thing).
Now, I bought some DIP switches to try and get a little bit interactive, and I just spent a few hours trying to make the most basic button tutorial to work: (arduino.cc/en/Tutorial/Button)
But somehow, I couldn't quite figure it out - the LED would always go on. Eventually, I disconnected everything from the board, and reset it.
Turns out that the board always reads something on all the digital pins - loading only the code from the button tutorial, whilst having nothing connected to the board, results in a LED being on constantly. I can make the led blink (by changing the sketch), I can turn it off (by commenting out the bit that would make the LED go on), but it appears that it always reads 'low' from all the pins when using digitalRead.
Has my Arduino got a case of the flu, or is there something I've overlooked?
- H