Text this: Implementation of DSP based SPWM for single phase inverter