Together with some friends im making a scale model using the arduino MEGA 2560.
On the board we used I broke an I/O pin (Only gives 1,8V output max.).
To fix this I bought a new MEGA 2560 and switched the new arduino for the old one. I put in the same software but now output 42 doesn't respond.
I use another pin to read in a switch, when the switch is pressed pin 42(output) needs to supply 5V to an LED. But when the switch is pressed no output voltage is supplied. And another input also changes value.
I´ve tried to look for a hardware connection between the pins but there is no hard contact between the pins.
When I switched the old board back (with the same software) evrything except the broken output seems to work fine.
My question comes down to: Why does the new Arduino MEGA board react differently to my inputs while using the same software?