Clear flash before uploading the code, it will no longer connect. You have wifi and password saved somewhere in flash, from the previous version with multi.
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tammiroskop wrote:I thought the Arduino deletes the flash as you set "Enabled" in "Tools".
UWAGA: biblioteka Audio działa na architekturze(/architekturach) sam i może nie być kompatybilna z obecną płytką która działa na architekturze(/architekturach) esp32.
In file included from d:\Moje dokumenty\Arduino\libraries\Audio\src/Audio.h:16,
from C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:3:
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h:21:15: error: expected ')' before '*' token
DACClass(Dacc *_dac, uint32_t _dacId, IRQn_Type _isrId) :
~ ^~
)
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h:35:2: error: 'Dacc' does not name a type
Dacc *dac;
^~~~
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h:37:2: error: 'IRQn_Type' does not name a type
IRQn_Type isrId;
^~~~~~~~~
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h: In member function 'void DACClass::enableInterrupts()':
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h:31:44: error: 'isrId' was not declared in this scope
void enableInterrupts() { NVIC_EnableIRQ(isrId); };
^~~~~
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h:31:29: error: 'NVIC_EnableIRQ' was not declared in this scope
void enableInterrupts() { NVIC_EnableIRQ(isrId); };
^~~~~~~~~~~~~~
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h: In member function 'void DACClass::disableInterrupts()':
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h:32:45: error: 'isrId' was not declared in this scope
void disableInterrupts() { NVIC_DisableIRQ(isrId); };
^~~~~
d:\Moje dokumenty\Arduino\libraries\Audio\src/DAC.h:32:29: error: 'NVIC_DisableIRQ' was not declared in this scope
void disableInterrupts() { NVIC_DisableIRQ(isrId); };
^~~~~~~~~~~~~~~
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino: At global scope:
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:115:1: error: 'Audio' does not name a type
Audio audio; // Obiekt do obsługi funkcji związanych z dźwiękiem i audio
^~~~~
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino: In function 'void changeStation()':
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:279:3: error: 'audio' was not declared in this scope
audio.connecttohost(station);
^~~~~
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:279:3: note: suggested alternative: 'Audio'
audio.connecttohost(station);
^~~~~
Audio
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino: In function 'void playFromSelectedFolder()':
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:990:5: error: 'audio' was not declared in this scope
audio.connecttoFS(SD, fullPath.c_str());
^~~~~
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:990:5: note: suggested alternative: 'Audio'
audio.connecttoFS(SD, fullPath.c_str());
^~~~~
Audio
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino: In function 'void updateTimer()':
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:1327:9: error: 'audio' was not declared in this scope
if (audio.isRunning() == true)
^~~~~
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:1327:9: note: suggested alternative: 'Audio'
if (audio.isRunning() == true)
^~~~~
Audio
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino: In function 'void setup()':
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:1530:3: error: 'audio' was not declared in this scope
audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT); // Konfiguruj pinout dla interfejsu I2S audio
^~~~~
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:1530:3: note: suggested alternative: 'Audio'
audio.setPinout(I2S_BCLK, I2S_LRC, I2S_DOUT); // Konfiguruj pinout dla interfejsu I2S audio
^~~~~
Audio
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino: In function 'void loop()':
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:1598:3: error: 'audio' was not declared in this scope
audio.loop();
^~~~~
C:\Users\Bart\AppData\Local\Temp\.arduinoIDE-unsaved2024512-47656-1m7ihnq.85ot\sketch_jun12a\sketch_jun12a.ino:1598:3: note: suggested alternative: 'Audio'
audio.loop();
^~~~~
Audio
Compilation error: 'Audio' does not name a type
TCP/IP wrote:.Try this.
Remove the Audio and SPI libraries included by the thread author. I don't know why he included them.
Install this "ESP32-audioI2S" is here https://github.com/schreibfaul1/ESP32-audioI2S
If you don't have it installed then add Adafruit_GFX_Library and Adafruit_BusIO.
It should compile. I have not tested if this project works.
paulosxc wrote:.i2s_calculate_common_clock(1180): sample rate is too large