Text this: Microcontroller based power factor corrector