This preview shows page 1. Sign up to view the full content.
Unformatted text preview: The counter should be initialized to zero. Pressing PB1 button should increment the count by the decimal number 10. Pressing PB2 button should increase the displayed count by the decimal number 1. Only the least two digits are displayed on becomes greater than 99. Tip: To display decimal numbers on the LED, you will need to create a table, the first few rows of which I have filled in below: Bonus: Instead of using the push button to increment the counter, use the clock signal instead. Since the clock frequency is too fast to see the counter output, you need to make a clock divider to reduce the clock frequency. Find the divisor value that will make the numbers displayed on the LED to be visible....
View Full Document
- Spring '11