In the second week, the general logic for state machine is set up. An enum variable will store the current state, and a separate function controls the logic for state transitions in this deterministic finite automaton.
To control the state transition, the user will receive instructions and type commands on a laptop, which, will in turn communicates with the microcontroller through a Bluetooth module (HC-05). The Bluetooth module uses a UART as a serial communication protocol.
In progress: Interfacing with the audio module on board using the I2C protocol.