So yesterday I accidentally connected the pi's neutral pin to a 12V power supply. In a few seconds I understood the mistake as switched it off. Now the pi is booting and working properly but the GPIO pins are not giving proper output. I know this as I am doing a door lock using face recognition project and the lock is opening randomly.
So is there any way to fix this??