Hi,
I got my Pi today and I'm incredibly excited.
I'd like to connect a pushbutton (or a switch) to the board and read its state. From what I understand that's what the GPIO pins can be used for. I've seen that there's a sysfs interface to GPIO and I think I can manage that part, but what about the actual physical connections. Two wires come out of the switch, should I connect one of them to one of the GPIO pins and the other to GND? Is that it? Do I need resistors and whatnot? I know absolutely nothing about electronics and I'd rather not fry my shiny new Pi.
Thanks.
