LED Dimming via PWM - An Introduction To FPGA And CPLD - PyroEDU

preview_player
Показать описание

To join this course, please visit any of the following free open-access education sites:

Рекомендации по теме
Комментарии
Автор

If I want to make the led brighten and dim and brighten again and so on, what should I do? I was thinking about starting to decrease count_1 when it reaches 15 instead of letting it reset itself. So I'd have 50% duty cycle, 75% duty cycle, 100% duty cycle, 75% duty cycle, 50% duty cycle and so on. Am I correct? if so, should I use two different processes for the increase and decrease?

vanessa.mercea