No that makes no odds at all. The first problem is that you have not set pin 12 to be an output in the setup function. So that pin is an imput and you are just turning on and off the internal pull up resistor.

IRF540N Datasheet, IRF540N PDF, IRF540N Data sheet, IRF540N manual, IRF540N pdf, IRF540N, datenblatt, Electronics IRF540N, alldatasheet, free, datasheet, Datasheets ... IRF540N datasheet, IRF540N pdf, IRF540N data sheet, datasheet, data sheet, pdf