I have taken an L6565 circuit and used a PIC instead to generate 50KHz pulses to the transformer via a mosfet driver and mosfet.

Does any one for see any problems doing this ?

I forgot to gap the transformer and blew my fuses.

Are there any other problems that might occurr ?