Aussie_CrocHunter
Well-known member
Hi! I'm new here so please go easy - also I'm terrible at electronics but that will become evident!
I'm building a simple midi controller (isn't everyone?).
I've got a mate doing the coding coz he's a wiz at that stuff. I'm building the box.
I've got some guitar footswitches which are normally on and then momentarily off when you press them.
I've done a test on the breadboard but that was with a momentary on switch like a normal button.
I connected the positive to one side of the button and the ground to the other side. I put the digital input connector in the middle so it picked up when the circuit changed. it's on the positive side (I couldn't get it to work on the ground side).
However when I switched to the button that's always on unless you tap it to momentarily turn it off, I have cooked my teensy. So, I have two questions:
-Should the digital pin be paired with the ground contact or the VCC contact?
-How did I cook my teensy?
So the connections go like this:
VCC to two switches
ground to the other terminal of two switches
digital input pins on same terminal of the switch as VCC
I don't think code is relevant here, but if it is, I'll post it ASAP
I'm building a simple midi controller (isn't everyone?).
I've got a mate doing the coding coz he's a wiz at that stuff. I'm building the box.
I've got some guitar footswitches which are normally on and then momentarily off when you press them.
I've done a test on the breadboard but that was with a momentary on switch like a normal button.
I connected the positive to one side of the button and the ground to the other side. I put the digital input connector in the middle so it picked up when the circuit changed. it's on the positive side (I couldn't get it to work on the ground side).
However when I switched to the button that's always on unless you tap it to momentarily turn it off, I have cooked my teensy. So, I have two questions:
-Should the digital pin be paired with the ground contact or the VCC contact?
-How did I cook my teensy?
So the connections go like this:
VCC to two switches
ground to the other terminal of two switches
digital input pins on same terminal of the switch as VCC
I don't think code is relevant here, but if it is, I'll post it ASAP