hi there,
this might be pretty basic, but every search points me to the audio library which I think is not the way to go here (but maybe it still is)
I want to read an analog signal on a teensy 4.1 which has no audio shield and most pins already used. I don't need audio out, but I need a constant sampling frequency from that analog input. It would be great to get 44.1khz or 48khz sampling rate and I could work on the samples every 16th run. (a "buffer size" of 16 samples)
I guess this is something that is best done with an interrupt? I would be very glad for a little example of how to setup such an interrupt on teensy 4.1
cheers
this might be pretty basic, but every search points me to the audio library which I think is not the way to go here (but maybe it still is)
I want to read an analog signal on a teensy 4.1 which has no audio shield and most pins already used. I don't need audio out, but I need a constant sampling frequency from that analog input. It would be great to get 44.1khz or 48khz sampling rate and I could work on the samples every 16th run. (a "buffer size" of 16 samples)
I guess this is something that is best done with an interrupt? I would be very glad for a little example of how to setup such an interrupt on teensy 4.1
cheers