Two level cascaded inverter with elimination of low frequency harmonics using micro controller