I'm trying to use a switch to to provide input to software running on the Raspberry Pi. I have software running right now that continually reads the input pin and prints the result. Problem is, even when nothing is connected to it, the voltage reading from the input pin to circuit ground reads about 0.9V. The software rapidly flickers between TRUE and FALSE.
Is this a software issue? If not, how can I avoid this?
Thanks for any advice, - Chase