In terminal.app, install ffmpeg through homebrew
brew install ffmpeg
Validate the installation:
| #include <Arduino.h> | |
| #define FREQUENCY 21000 | |
| const uint16_t sample_count = 1000000 / FREQUENCY; // Reorganization of the (48MHz / (sample_count * freq)) - 1 to compute array size. | |
| uint16_t lut[sample_count]; | |
| // https://forum.arduino.cc/t/samd51-dac-using-dma-seems-too-fast/678418/4 | |
| typedef struct // DMAC descriptor structure | |
| { | |
| uint16_t btctrl; |
This guide is for Windows.
adb shell