Arduino: Building exciting LED based projects and espionage devices
by Adith Jagdish Boloor, Samarth Shah, Utsav Shah, Marco Schwartz
Recording on the SD card
In the last section of the chapter, we are actually going to test the project and record some audio.
First, copy all the code and paste it into the Arduino IDE. Compile it and upload it to the Arduino board. Note that, as soon as you do that, the project will start recording the audio. If you have connected the optional LED on pin 7, the LED should also be on during the recording phase.
You can now talk a bit or play your favorite song just to make sure that actual audio is being recorded by the microphone.
Then, after the amount of time defined in the code, stop the project by disconnecting the power. Then, remove the SD card and insert it into your computer.
On your computer, navigate to the SD card and you will see that ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access