Your task is to implement the game of Simon on the QUTy.
This game produces a sequence of lights and tones and requires a user to reproduce this sequence. If the user succeeds, the sequence becomes progressively longer.
On the QUTy, the four pushbuttons will perform the function of the four coloured buttons in the Simon game. Each pushbutton will be mapped to the vertical segments directly above it on the 7-segment display and for each press of a pushbutton, a tone will sound.
Your programme is required to implement the following core functionality:
B. The Sequence
C. Playback Delay
D. Playback Frequency
E. Gameplay through UART
Gameplay, INC/DEC FREQ, RESET and SEED: