Open ExtremeGTX opened 1 year ago
@imliubo Please help check this.
I don't think Core has any I2S hardware in the first place. I think it plays analog audio directly from ESP32 pin 25, which supports direct digital-to-analog output. There's a Speaker class in the library that looks like it can play wave audio just by loosely banging it out to the pin.
Describe the bug
I tried to use the following code to play some wavfiles but unfortunatly it didn't work.
The MicroPython runtime keep complaining about
I2S.MODE_MASTER | I2S.MODE_TX | I2S.MODE_DAC_BUILT_IN
that neither of them is part ofI2S
module. could you please point me to an example which works on m5stack Core basic (The EOL version).To reproduce
Run
Expected behavior
The code should run without displaying python errors.
Screenshots
No response
Environment
Additional context
No response
Issue checklist