Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi,
Your code will generate a wave that looks like a PWM ! To create a PWM you need a duty cycle (how often do you want to refresh your signal) : You need to know your board frequency and compute the duty of your PWM ... The link I gave you explain that ! Follow the steps and stop jumping into coding something you don't understand I recommend you read the page carefully