wondering if this could be a problem with my Arduino

Hi,

I have an Arduino Mega 2560. It's embedded into a musical instrument that I made several years ago and it's buried deep underneath a tangle of wires. One of the buttons attached to a digital pin stopped working. I looked inside and the wire that goes into that digital pin became unattached. I got in there and soldered the wire back to the header it was connected to, and I made sure I have a good connection.

When I plugged everything back in the button worked for a minute, but then stopped. I double checked all the connections and everything looks OK. I changed the button, but still that digital pin does not work. All the other Analong ins, digital ins and outs work fine.

So my question is: Is it possible for one digital pin on the Arduino itself to stop working if everything else is working fine? Seems unlikely, but I thought I would ask because I don't know what else it could be.

thanks, Nick

There was a wire, a pin, and then the socket on the Mega? And the wire came unstuck from the pin? Is that it? I can't see why that would fail unless it was under physical stress, and maybe damaged the socket underneath it. Maybe turn the board over and check. Is there another pin you can use instead? If something had touched the bare pin after the wire came loose maybe an unexpected voltage damaged it.

OK thanks Nick. Yes there are some unused pins that I can make use of. I can't take this thing apart right now because I need to use it. But when I have some down time I'll remove it and look underneath.