I wanted to generate two PWM waves using PIC16f877A. the second wave should have a delay of 10uS from the first one. can you tell me how to do this. Also can we generate 4 waves simultaneously using PIC 16f877A?
I have generated these two waves having different duty cycle.. but i want to general a delay of 10us between the start time of the two waves. i have tried to do it by delay function but it is not working. can you suggest me a method. the link you provided was not useful as it was difficult to interpret. can you help me by looking out this code?
The link that I provided you is what you need. You need to enable interrupts to generate Software PWM. That microchip application note clearly describes how to generate software pwm. You can easily insert delay in software pwm.