- Samsung Galaxy S25 Ultra - titán keret, acélos teljesítmény
- Samsung Galaxy S25 - végre van kicsi!
- Samsung Galaxy S23 Ultra - non plus ultra
- Apple iPhone 17 Pro Max – fennsík
- Xiaomi 14T Pro - teljes a család?
- Megérkezett végre a várva-várt órafrissítés
- „Új mérce az Android világában” – Kezünkben a Vivo X300 és X300 Pro
- Szerényebb panelt kap a OnePlus 15
- Samsung Galaxy Watch7 - kötelező kör
- Filléres telefonok érkeztek a ZTE-től
Új hozzászólás Aktív témák
-
slowie
csendes tag
Igen.
Letöröltem mindent (könyvtárakat is), aztán újraraktam 1.8.18 verzió mellé.
Sajnos az ESP32 2.0.17 verzió is ugyanazokat dobta.
Átraktam 2.0.3-ra, mostmár végre másba kötött bele. :'DYoRadio.ino-n nem változtattam, úgy van, ahogy letöltöttem:
/* ============================================================================================================
* ёRadio
* ============================================================================================================
* Web-radio based on
* ESP32-audioI2S https://github.com/schreibfaul1/ESP32-audioI2S
* or/and
* ESP32-vs1053_ext https://github.com/schreibfaul1/ESP32-vs1053_ext
* libraries
* ============================================================================================================
* Project home https://github.com/e2002/yoradio
* Wiki https://github.com/e2002/yoradio/wiki
* Описание на 4PDA https://4pda.to/forum/index.php?s=&showtopic=1010378&view=findpost&p=112992611
* Как это прошить? https://4pda.to/forum/index.php?act=findpost&pid=112992611&anchor=Spoil-112992611-2
* ============================================================================================================
* Here goes!
* ============================================================================================================
*/
#include "Arduino.h"
#include "src/core/options.h"
#include "src/core/config.h"
#include "src/core/telnet.h"
#include "src/core/player.h"
#include "src/core/display.h"
#include "src/core/network.h"
#include "src/core/netserver.h"
#include "src/core/controls.h"
#include "src/core/mqtt.h"
#include "src/core/optionschecker.h"
#include "src/audioVS1053/audioVS1053Ex.h"
#include "src/audioVS1053/vs1053b-patches-flac.h"
#include "src/LiquidCrystalI2C/LiquidCrystalI2CEx.h"
#include "src/OneButton/OneButton.h"
#include "src/VS1053/VS1053.h"
extern __attribute__((weak)) void yoradio_on_setup();
void setup() {
Serial.begin(115200);
if(LED_BUILTIN!=255) pinMode(LED_BUILTIN, OUTPUT);
if (yoradio_on_setup) yoradio_on_setup();
config.init();
display.init();
player.init();
network.begin();
if (Network.status != CONNECTED && Network.status!=SDREADY) {
netserver.begin();
initControls();
display.putRequest(DSP_START);
while(!display.ready()) delay(10);
return;
}
if(SDC_CS!=255) {
display.putRequest(WAITFORSD, 0);
Serial.print("##[BOOT]#\tSD search\t");
}
config.initPlaylistMode();
netserver.begin();
telnet.begin();
initControls();
display.putRequest(DSP_START);
while(!display.ready()) delay(10);
#ifdef MQTT_ROOT_TOPIC
mqttInit();
#endif
if (config.getMode()==PM_SDCARD) player.initHeaders(config.station.url);
player.lockOutput=false;
if (config.store.smartstart == 1) player.sendCommand({PR_PLAY, config.store.lastStation});
}
void loop() {
telnet.loop();
if (Network.status == CONNECTED || Network.status==SDREADY) {
player.loop();
//loopControls();
}
loopControls();
netserver.loop();
}
#include "src/core/audiohandlers.h"A myoptions.h jelenleg így néz ki:
#ifndef myoptions_h
#define myoptions_h
//--- LCD ---
#define DSP_MODEL DSP_1602I2C
#define I2C_SDA 21
#define I2C_SCL 22
#define I2C_RST -1
//--- VS1053 Audio ---
#define VS_HSPI false
#define I2S_DOUT 255
#define VS1053_CS 27
#define VS1053_DCS 25
#define VS1053_DREQ 26
#define VS1053_RST -1
//--- Gombok ---
#define BTN_LEFT 12
#define BTN_CENTER 14
#define BTN_RIGHT 13
#endifMost ez a hibalistám:
Arduino: 1.8.18 (Windows 10), Board: "ESP32 Dev Module, Enabled, Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 4MB (32Mb), 921600, Core 1, Core 1, None"
In file included from C:\Users\kbpho\Documents\Arduino\yoRadio\yoRadio.ino:33:
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h: In member function 'void VS1053::save_our_spi()':
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h:68:15: error: 'SPSR' was not declared in this scope
my_SPSR = SPSR;
^~~~
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h:68:15: note: suggested alternative: 'SPI'
my_SPSR = SPSR;
^~~~
SPI
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h:69:15: error: 'SPCR' was not declared in this scope
my_SPCR = SPCR;
^~~~
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h:69:15: note: suggested alternative: 'SPI'
my_SPCR = SPCR;
^~~~
SPI
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h: In member function 'void VS1053::set_our_spi()':
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h:73:5: error: 'SPSR' was not declared in this scope
SPSR = my_SPSR;
^~~~
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h:73:5: note: suggested alternative: 'SPI'
SPSR = my_SPSR;
^~~~
SPI
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h:74:5: error: 'SPCR' was not declared in this scope
SPCR = my_SPCR;
^~~~
C:\Users\kbpho\Documents\Arduino\yoRadio\src\VS1053\VS1053.h:74:5: note: suggested alternative: 'SPI'
SPCR = my_SPCR;
^~~~
SPI
C:\Users\kbpho\Documents\Arduino\yoRadio\yoRadio.ino: In function 'void setup()':
yoRadio:45:14: error: expected primary-expression before '.' token
if (Network.status != CONNECTED && Network.status!=SDREADY) {
^
yoRadio:45:45: error: expected primary-expression before '.' token
if (Network.status != CONNECTED && Network.status!=SDREADY) {
^
C:\Users\kbpho\Documents\Arduino\yoRadio\yoRadio.ino: In function 'void loop()':
yoRadio:72:14: error: expected primary-expression before '.' token
if (Network.status == CONNECTED || Network.status==SDREADY) {
^
yoRadio:72:45: error: expected primary-expression before '.' token
if (Network.status == CONNECTED || Network.status==SDREADY) {
^
Multiple libraries were found for "SD.h"
Used: C:\Users\kbpho\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
Multiple libraries were found for "WiFi.h"
Used: C:\Users\kbpho\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\WiFi
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
exit status 1
expected primary-expression before '.' token
Új hozzászólás Aktív témák
- Polgári repülőgép-szimulátorok
- One otthoni szolgáltatások (TV, internet, telefon)
- Tudományos Pandémia Klub
- Projektor topic
- Autós topik
- Elektromos autók - motorok
- Azonnali fáradt gőzös kérdések órája
- SzDavid99: Van 20 perced? Akkor tanulj meg koreait olvasni!
- World of Tanks - MMO
- Milyen joysticket vegyek?
- További aktív témák...
- AKCIÓ ÚJ Bontatlan Macbook Pro 14 M4 MAX 14 32GPU 36GB 1TB Magyar billentyűzet Azonnal átvehető Deák
- BONTATLAN Új Ipad 9th 10th 11 gen. Air 6 7 , Ipad Pro Mini 7 IPADEK Azonnal DEÁK Térnél Átvehető.
- BONTATLAN Új iPhone 17 PRO MAX 256-512GGB Független 1év Apple GARANCIA Deák Térnél Azonnal Átvehető.
- Dell Precision 7740 Workstation 17,3", i9-9980HQ, 32GB, RTX3000 6GB
- Gamer PC - i5 14600k, RTX 3080 és 32gb RAM + GARANCIA
- Dell Latitude 5430 i7-1255U 16GB 512GB 14" FHD 1 év garancia
- ÚJ Xiaomi Mi Robot Vacuum Mop Essential robotporszívó feltörlő 2db 1999 Ft
- Ygitk ZP-THP60 vezeték nélküli fejhallgató / 12 hó jótállás Akkumulátoros vezeték nélküli fejhallga
- 2db UK billes (146 / 147) - Lenovo Legion Pro 7 (16IRX9H) - Intel Core i9-14900HX, RTX 4090
- Microsoft Surface Pro 6 fekete
Állásajánlatok
Cég: Promenade Publishing House Kft.
Város: Budapest
Cég: Laptopműhely Bt.
Város: Budapest