This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Generating a 134kHz sine wave using Teensy 3.6 with virtually | |
| // 0 cpu usage by filling the DAC up via DMA triggered by PDB | |
| // -samy kamkar | |
| #include <DMAChannel.h> | |
| #include "pdb.h" | |
| DMAChannel dma(false); | |
| static volatile uint16_t sinetable[] = { |