Ok I’m using the blinking led code to switch my mosfet the problem is I can only get it to switch at 1khz. Now the code I’m using is simple
Now my problem is I can’t go smaller than a 1 on the delay. I want to switch it faster if I can. Is there anyway to get it to switch at 2-100 kHz? Is there a better way to code this so it switches faster? I’m very new this is my first project and I could really use some help.