Hi,

It would be better if you start a different thread cause a PIC based buck converter is different than a sine wave inverter.

provide the following though

What is the input voltage range (Min - - Max)
What is the output voltage required
Intended Frequency of the switcher (PWM)

MCU being used

BTW it is 2:15 AM in local time and I should get some sleep now.