Good point.Right, I thought he meant the output from the NPN, not the MOSFET.
But still isn’t that pull up resistor connected to 12 volts?
And if it is, why can’t a pull up be used to turn off a PNP instead.
R1 should be increased to 40k so the maximum input voltage is <3V when the processor output is high.