Hey guys; I've been a long time lurker, but this is my first question I couldn't find an answer too myself.
I'm working on a project where I'm pairing a Teensy 2.0 with a Raspberry Pi over UART to make an interactive raspberry pi enclosure. I've got seven 2-pole buttons mounted in the front of the enclosure, each going to a different Teensy input but receiving power from the same source.
I just wrote a quite sketch to test the validity of my setup and that the buttons were working, but I realized that no matter which button I pressed, the pin I was reading (I was only reading the first buttons pin) would go up to 1.
I am relatively new to this; but I have had buttons that have had common power sources (and by that I mean that each buttons input wire is connected to the same "rail" which I made by myself out of perfboard) and they have never done anything like this in the past. However, in recent weeks, I've heard alot about "Button Bouncing" and think that it may be my issue. However, I'm not sure. Is this behaviour something that could be brought about by a lack of debouncing in my hardware?
Thanks, and if more details are needed feel free to ask.