Skip to main content

Subsection 2.7.5 Part 5: Lab 2 Introduction

In the rest of the hour we’ll start on Lab 2, which has two design challenges. Read the full spec in Section 2.8 and start work on whichever challenge you have not already built today.

Activity 2.7.4. Lab 2 Design Challenges.

(a)

Challenge 1: Pause/resume counter: If the FSM you implemented earlier today already does this, review the lab spec and make sure your solution meets all requirements (correct state behavior, debouncing, clean oscilloscope traces).

(b)

Challenge 2: Reaction time game: Draw the state diagram before writing code. How many states does the game have? What are the events (button presses, timer expiry)? What actions does each transition trigger?