Double_Click:
Repeat Task 2, but this time, the rate switch should occur after a “double-click” instead of a single one (as in double-clicking a mouse button, typically executed in 0.5 seconds.) As in Task 2, you need to implement debouncing in software.
- The program should work for any number of “PortB 0-3” buttons double-clicked at any time.
- BUTTON4 should still be functional to change the cycling pattern.
- Your grade will depend on the quality of your implementation!
Procedure:
- Create a new project named last-name_lab1_task3
- You can start with the ASM code for Task 2.
- Do your modifications on the source code. Assemble. Debug as necessary.
- Compute your coding resources, including program size in memory (in bytes), required data memory size (in bytes), and the number of registers in use. Please report them in the textbox below.
- Ensure you demo the functionality to the instructor.
- Submit your task3.asm code from the following file upload interface.