- iPhone topik
- Apple iPhone 16 Pro - rutinvizsga
- Honor Magic6 Pro - kör közepén számok
- Google Pixel topik
- Samsung Galaxy Watch7 - kötelező kör
- One mobilszolgáltatások
- Samsung Galaxy S23 Ultra - non plus ultra
- Samsung Galaxy S23 és S23+ - ami belül van, az számít igazán
- Milyen okostelefont vegyek?
- Xiaomi 15 - kicsi telefon nagy energiával
Ú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
- Házimozi belépő szinten
- iPhone topik
- Tőzsde és gazdaság
- Spórolós topik
- Apple iPhone 16 Pro - rutinvizsga
- OFF TOPIC 44 - Te mondd, hogy offtopic, a te hangod mélyebb!
- Honor Magic6 Pro - kör közepén számok
- Hitelkártyák használata, hitelkártya visszatérítés
- AMD Ryzen 9 / 7 / 5 / 3 5***(X) "Zen 3" (AM4)
- Háztartási gépek
- További aktív témák...
- HP Elitebook 840 G3 laptop (15,6FHD/I5-G8/8GB/256SSD/Magyar/Win11)
- AMD Ryzen 5 5500 - GTX 1080Ti 11Gb - MSI B450 Max
- HP Zbook 15 G3 laptop (15,6FHD/I7-G6/16GB/256SSD/AMD2GB/MagyarVilágítós/Win11)
- Apple iPhone 13 128GB, Kártyafüggetlen, 1 Év Garanciával
- Apple iPhone 13 Pro 128GB, Kártyafüggetlen, 1 Év Garanciával
- Azonnal elérhető, raktáron lévő HPE Aruba switch-ek
- Azonnali készpénzes Sony Playstation 5 lemezes és digitális felvásárlás személyesen/csomagküldéssel
- Csere-Beszámítás! Asztali számítógép PC Játékra! I5 12400F / RTX 3070 / 32GB DDR4 / 500GB SSD
- Bomba ár! Dell Latitude 7320 - i5-11GEN I 8GB I 512SSD I HDMI I 13,3" FHD I Cam I W11 I Garancia!
- Bomba ár! Dell Latitude 7420 - i7-1185G7 I 16GB I 512SSD I HDMI I 14" 4K I Cam I W11 I Garancia!
Állásajánlatok
Cég: CAMERA-PRO Hungary Kft
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest