I am attempting to build a Pandora Box. The basic idea of this project is that I am able to use the raspberry pi as a pandora radio device. Inputs are taken in from the user via Normally Open push buttons hooked into the RPi's GPIOs. In this step, we construct a simple circuit for the push button. It seems to be the case that all GPIOs work except SDA and SCL. I have been using a combination of my multimeter and WiringPi to test, and it seems that both these GPIOs hover at 3.3v, even when set to input.
gpio -g mode 2 in
gpio -g mode 3 in
These 2 inputs work as expected when in output mode:
gpio -g mode 2 out
gpio -g write 2 0
gpio -g write 2 1
I suspect that it has something to do with these same inputs being used for I2C by default, but I can't confirm. Has anyone else had this issue? What more can I do to investigate the problem? I am running the latest raspian wheezy