arduino control electro-magnet

I thought that was to prevent high currents because of the capacitive effect of the gate when PWM'ing, is that correct? Or are there other reasons as well?

OldSteve:
Thanks for responding so well to my suggestion Pieter. :slight_smile:

Always happy to learn something, or to gain some new insights :wink: .