Edzelf / ESP32-Radio

Internet radio based on ESP32, VS1053 and a TFT screen.
GNU General Public License v3.0
964 stars 227 forks source link

2 problems reported when compiling ESP32-radio #482

Open y2kats65 opened 2 years ago

y2kats65 commented 2 years ago

I am new to the platformio IDE environment. When I compiled the ESP32-Radio (Aug 3, 2021 version), I am getting this problem reported for the main.cpp file even though the compile is reported as success and I have created an "include" directory under ESP32-Radio. Here are two lines of the problems reported: Cannot find "C:\Users\Tony\Documents\Arduino\InternetRadioESP32Platformio\ESP32-Radio\include". Cannot find "C:\Users\Tony\Documents\Arduino\InternetRadioESP32Platformio\ESP32-Radio\include". In my main.cpp, I have made changes to these lines only //#define BLUETFT // Works also for RED TFT 128x160

define DUMMYTFT // Dummy display

I would like to test the code without the use of a display, just the ESP32 and VS1053. In previous attempts, I always got the error message that the VS1053 was not installed properly at startup even though I believe I have the wiring done correctly. This are the messages reporting the VS1053: D: Slow SPI, Testing VS1053 read/write registers... D: VS1053 not properly installed! I uploaded the code to the esp32. It seems the problem reported is not critical as the program starts up and run. It reports that I have a VS1003 and not VS1053. Also, the pin defined for pin_vs_dcs is 32 instead of 16 as mentioned in the doc. I used the web interface to change the pin to 16. Where do I define that I have VS1003 instead?

Please help.