Forum Discussion
Altera_Forum
Honored Contributor
10 years agosine wave using Different duty cycles of PWM
Hi i am having problem in generating different duty cycles of PWM. can somebody check my code and tell what is wrong. well code is generating a duty cycle but it does not change it automatically as t...
Altera_Forum
Honored Contributor
10 years agoyes i tested this one using altera DE2 board. and even i changed the size of counter to [7:0] from [15:0] but it still gives me only one duty cycle and this time it is little distorted. i use GPIO pins one positive and one negative to directly connected to scope. is there any problem with my code?