PIC gives you 5V, but your load is 12V; you can not ignite the gate.
To drive NPN mosfet with the load going to GND, consider the following way.
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2860&d=1221917652" >
---------------
Bookmarks