Forum Discussion
Altera_Forum
Honored Contributor
12 years agoPush-button counter
hi again this has got me stumped, yet I think it should be so easy ! I'm trying to display a horizontal bar in VGA (which I can do) and then have the bar rotate by 1 degree every time I pu...
Altera_Forum
Honored Contributor
12 years agoIn this case you should use pbut as a clock and rather test the rising edge condition, not the level:
if (pbut'event and pbut = '1') then