Good catch! Usually for my projects I use external power supplies for breakouts and other things so I didn't really think about individual pin current limits. I mean that the cathode(?) was on a digital pin and the anode(?) was on ground. I could...
Okay, I have solved the problem but I would like to know why! At first, the Teensy was powered by USB and provided power for the LED and speaker amp and I had the static problem. Then I got an external 5V power supply. I powered the Teensy via...
Excellent idea! I removed the SD card, used another Teensy 4.1, and a different speaker. I also tried powering the amp from a power supply, not from the Teensy. I tried the tone sweep example for the Teensy library and still got the same result...
Good catch! That did clear up some of the issue. The updated code is below.
To better describe the issue, the stuttering is now gone after @Mcu32 's great catch! However, lower-volume sounds become static. The audio track is supposed to be a...
Hi! I'm using a Teensy 4.1 and a MAX98357A amplifier breakout connected to the Teensy using I2S. My ultimate goal is to flash an LED using PWM in accordance with sound playing through a speaker. I haven't implemented FFT yet because when I try to...