Task

For lab 1, you implemented getNumber()to retrieve a number from the serial monitor. It turns out that a state machine is particularly well suited to this task. I will award 2 pts extra credit to any student who turns in working calculator code that implements getNumber() as a state machine following the conventions described in Chapter 10.4 of the zyBook.

Grading