jackbartusch
New member
Hi, I've got a brand new Teensy 4.0 and Audio Shield Rev D that I've soldered on. Running the hardware test I cannot seem to get any audio out of the headphone output. I had originally connected the shield to the aux in of some powered monitors but have since switched to headphone output. I would expect that this potentially fried the board, however running some test code suggests the SGTL5000 is enabling, which I would think means the shield is running fine.
Any ideas would be greatly appretiated!
#include <Audio.h>
#include <Wire.h>
AudioSynthWaveform waveform1;
AudioOutputI2S i2s1;
AudioConnection patchCord1(waveform1, 0, i2s1, 0);
AudioConnection patchCord2(waveform1, 0, i2s1, 1);
AudioControlSGTL5000 sgtl5000_1;
void setup() {
Serial.begin(115200);
Serial.println("Initializing...");
AudioMemory(8);
if (sgtl5000_1.enable()) {
Serial.println("Initialized audio shield");
} else {
Serial.println("Failed to initialize audio shield");
}
}
void loop() {}
Any ideas would be greatly appretiated!