6 Software Implementation
The entire software can be modularized into the following subroutines:
- Setup and Main Loop - Initializes the program and sets up the main loop.
- Idle Subroutine - Used to decode single, double and long button presses to enter the various modes of operation.
- Record Subroutine - Used for audio recording and data storage.
- Playback Subroutine - Used for data retrieval and playback.
- Erase Subroutine - Used to erase storage media.
- Passthrough Subroutine - Used to create an audio passthrough without any data storage.