PWM sine wave based on PIC microcontroller