can any one give source code generating multiple pwm( where the width of pwm pulse variable according to reference sinusoidal input signal"
i use to control induction motor single phase
.thanks
None of the 89Sxx Microcontrollers have in-built PWM generator. And using software you won't be able to generate very high frequency.
Use P89C51RD2 or AT89C51RD2 which has 5 hardware PWM generators.
i dont need generate high freq pwm
i just need generating pulse with variable width according the amplitude of sinusoidal from home electric.
i hear abaout "magic sine"
but i forget where?