The example outputs an audio square wave over USB.
- Flash the board, and ensure the target's auxiliary USB is plugged into the PC.
- Open a program like Audacity, select microphone(Mbed audio) as an audio source and record sample.
- Zoom in the recorded sound and you should see a square wave.
Note: You can also route microphone(Mbed audio) to the output device and you should hear a buzz.
MIRRORED FROM MASTER EXAMPLE SNIPPETS REPOSITORY: mbed-os-examples-docs_only. ANY CHANGES MADE DIRECTLY TO THIS REPOSITORY WILL BE AUTOMATICALLY OVERWRITTEN.