I need help figuring out why the arduino digital pin seem burnt and how to fix the circuit. There is a windshield wiper motor connected to 2 relay shield, and to arduino. The windshield wiper motor provides 2 wires that are always shorted together except once per revolution when they are disconnected (park function). I connected one of those wires to digital GND and the other to digital pin 12 which I set to: pinMode(12, INPUT); digitalWrite(12, HIGH); It worked somewhat but now pin 12 seem burnt. I tried on pin 2 and now it seem burnt too because it is always low.
Thanks for your help.