- Apple iPhone 17 Pro Max – fennsík
- Fotók, videók mobillal
- Samsung Galaxy S25 Ultra - titán keret, acélos teljesítmény
- Xiaomi 14 - párátlanul jó lehetne
- Milyen okostelefont vegyek?
- Google Pixel topik
- Yettel topik
- Android alkalmazások - szoftver kibeszélő topik
- Samsung Galaxy Watch8 - Classic - Ultra 2025
- Samsung Galaxy Watch7 - kötelező kör
Hirdetés
(használd a CYBSEC25PH kuponkódot további 20 ezer ft kedvezményért!)
Ú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
- Okos Otthon / Smart Home
- Battlefield 6
- Apple iPhone 17 Pro Max – fennsík
- Fotók, videók mobillal
- exHWSW - Értünk mindenhez IS
- Nvidia GPU-k jövője - amit tudni vélünk
- Suzuki topik
- D1Rect: Nagy "hülyétkapokazapróktól" topik
- Kerékpárosok, bringások ide!
- gban: Ingyen kellene, de tegnapra
- További aktív témák...
- Lenovo ThinkPad X1 Yoga Gen 3 i7 / 16GB / 512GB SSD / 2 az 1-ben érintőkijelző / WQHD IPS
- Lenovo ThinkPad T14s i7 / 32 GB RAM / 256 GB SSD / Full HD IPS
- HP EliteBook 650 G9 12. generációs i5 / 16GB RAM / 256GB SSD / FHD
- Eladó Macbook Pro mid-2019 i5 8GB RAM 256 GB tárhely 4 thunderbolt
- Lenovo ThinkPad E15 (20RD) i5 / 8 GB / 256 GB SSD / Full HD IPS
- JBL ProFlora CO2 Starter Bio Set biológiai CO2 készlet 10-40 l-es édesvízi akváriumokhoz
- 152 - Lenovo LOQ (15IRH8) - Intel Core i5-12450H, RTX 4060
- Lenovo ThinkPad T14 Gen1 Intel I7 10610U Akció! 11.10.2025-ig kedvezménes, 130.000ft-os áron!
- Lenovo ThinkPad X13 Gen 2 i5-1145G7 16GB 512GB FHD+ Érintőkijelző 100% sRGB - 1 év garancia
- iPhone 13 mini 128GB Midnight -1 ÉV GARANCIA - Kártyafüggetlen, MS3086, 94% Akkumulátor
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: Laptopműhely Bt.
Város: Budapest