How to record audio and save it to wav file using Electret Mic Amp - MAX9814?

Yup, the code you found in this thread should get you started with a PCM file (which you could play back with software like Audacity without needing to add the WAV header to begin with).