I'd like to use the Teensy 3.1 onboard ADC's to read audio at a fairly slow rate (about 10ksps). Then I'd like to have the option for making minor adjustment to that sample rate occasionally within the main program. Could someone give me a few hints for setting up a timer-based interrupt to handle the sampling? I've worked with interrupts in the past on other chips, but not this one. But after looking through the samples and examples, I don't see a clear path for doing this.
Any help would be appreciated. Thanks in advance.
Any help would be appreciated. Thanks in advance.