I have built a simple PWM drive with a 555 and an op amp. The op amp drives a trans which drives a mosfet. However the mosfet seems to be latching.
The mosfet is conducting, with no gate signal present, a test bulb lights brightly. When I apply the PWM to the gate the bulb dims as it should...