Document the internal DAC on ESP32 more explicitly (#184)
* Document INTERNAL_DAC explicitly and its usage * Add INTERNAL_DAC usage comment in example
This commit is contained in:
1 parent
d0089c1f4a
commit
e6a4e6c886
2 files changed
+2
-1
No files matched your search
@@ -21,6 +21,7 @@ void setup()
|
||||
Serial.begin(115200);
|
||||
delay(1000);
|
||||
file = new AudioFileSourcePROGMEM( enigma_mod, sizeof(enigma_mod) );
|
||||
// out = new AudioOutputI2S(0, 1); Uncomment this line, comment the next one to use the internal DAC channel 1 (pin25) on ESP32
|
||||
out = new AudioOutputI2S();
|
||||
mod = new AudioGeneratorMOD();
|
||||
mod->SetBufferSize(3*1024);
|
||||
|
||||
Reference in new issue
Block a user