shoeb.eee
Member level 1
- Joined
- Mar 28, 2009
- Messages
- 36
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,553
I'm new in AVR. But know some basic assembly language programming. I can program a square wave and simulate it. It is possible by using delay and output to the desired PORT. Increasing/decreasing time delay variable frequency will be obtained.
But I'm failed to program with PWM to do the same thing. I searched into the web and found some example of AVR PWM in asm code but the code also contains the delay function. If I use delay function, what is the actual task of PWM.
I need to know what thing the PWM actually do and why does time delay is used? I got the following link which contains an example of PWM.
**broken link removed**
Please help me
But I'm failed to program with PWM to do the same thing. I searched into the web and found some example of AVR PWM in asm code but the code also contains the delay function. If I use delay function, what is the actual task of PWM.
I need to know what thing the PWM actually do and why does time delay is used? I got the following link which contains an example of PWM.
**broken link removed**
Please help me