ESP32-MiniWebRadio icon indicating copy to clipboard operation
ESP32-MiniWebRadio copied to clipboard

esp32-A1s

Open telboy52 opened this issue 2 years ago • 7 comments

Hi Wolle Thanks for great program I have made radio with esp32 +Ic2 and vs1053 sound with various displays all work fine now trying esp32 A1s with es8388 but keep getting the errrors below can anyone give me some help or advice to get this working it compiles ok with all other decoders but not the es8388. Many Thanks to all Terry

src/main.cpp: In function 'void setVolume(uint8_t)': src/main.cpp:1233:17: error: 'class ES8388' has no member named 'SetVolumeSpeaker' dac.SetVolumeSpeaker(_cur_volume * 3); ^~~~~~~~~~~~~~~~ src/main.cpp:1234:17: error: 'class ES8388' has no member named 'SetVolumeHeadphone' dac.SetVolumeHeadphone(_cur_volume * 3); ^~~~~~~~~~~~~~~~~~ src/main.cpp:1239:21: error: 'class ES8388' has no member named 'SetVolumeSpeaker' dac.SetVolumeSpeaker(_cur_volume * 3); ^~~~~~~~~~~~~~~~ src/main.cpp:1240:21: error: 'class ES8388' has no member named 'SetVolumeHeadphone' dac.SetVolumeHeadphone(0);

telboy52 avatar Jun 30 '22 13:06 telboy52

Hi telboy52, I updated the libraries, there was an old one in the repo. During testing, I noticed that pins 26 and 27 are swapped on the new board with ES8388 compared to the old one with AC101. So they still have to be rotated, otherwise you only have noise

schreibfaul1 avatar Jun 30 '22 22:06 schreibfaul1

Hi Wolle Thanks for a quick response tried rotating pins 26 and 27 but still dosent compile Thanks Terry

telboy52 avatar Jul 01 '22 12:07 telboy52

and I have changed the files ES8388.cpp and ES8388.h, you would have to get them again

schreibfaul1 avatar Jul 01 '22 12:07 schreibfaul1

Hi All Ive tried changing the es8388.cpp and es8388.h for earlier ones but still cant get to compile can anyone point me to where to get correct versions thanks Terry

telboy52 avatar Jul 04 '22 11:07 telboy52

Compilation works for me. Sometimes 'clean all' or deleting the build folder helps

schreibfaul1 avatar Jul 04 '22 22:07 schreibfaul1

Hi Wolle I reinstalled platformio and started again all working with the latest build many thanks for help Telboy

telboy52 avatar Jul 08 '22 10:07 telboy52

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 21 '22 07:09 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 14 '23 02:04 stale[bot]