Arduino controlled mosfet driverwont switch.

Tried changing the arduino ouput pin and left out the pull down resistor and it works. Set the output back to pin 3 and the LED is stuck on. Put in another atmega328 chip and wrote the same sketch with the output on pin 3 and now its working. So there it is, an atmega chip with a bad pin.