/mbed-os-snippet-USBAudio_square_wave

A mirrored example snippet from mbed-os-examples-docs_only

Primary LanguageC++

USBAudio square wave example

The example outputs an audio square wave over USB.

  1. Flash the board, and ensure the target's auxiliary USB is plugged into the PC.
  2. Open a program like Audacity, select microphone(Mbed audio) as an audio source and record sample.
  3. 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.