Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- The logic turns an LED on and off and increments a counter (or several). The time is measured by the value of the counter which is clocked at a specific frequency. --- Quote End --- Yes. And at no point is a for loop useful for you. A for loop has no memory between clock cycles. Think about the logic circuit, not the software code.