Search found 6 matches

by Didtho
Sat May 01, 2021 4:53 pm
Forum: ESP32 boards
Topic: Request for VS1053 with ESP32
Replies: 4
Views: 22979

Re: Request for VS1053 with ESP32

Yes, but I cannot implement it with an internet radio stream. If you have an example, I will. Thank you.
by Didtho
Sat May 01, 2021 1:56 pm
Forum: ESP32 boards
Topic: Request for VS1053 with ESP32
Replies: 4
Views: 22979

Request for VS1053 with ESP32

Hello,
Do you have a code for VS1053 that works for ESP32? I tried the vs1053.py library but it asks for lots of adafruit modules that I don't have. I just want a piece of code to listen to internet radio. My ESP32 is a 38 pin with Wroom-32. The version of micropython installed is 1.15. Thank you.
by Didtho
Sat May 01, 2021 9:39 am
Forum: Programs, Libraries and Tools
Topic: VS1053 asynchronous socket read
Replies: 5
Views: 4577

Re: VS1053 asynchronous socket read

Hello,
Where is the vs1053 library you are using in the above code available?
Because the one I find (peterhinch) does not have the vs1053.Player, the setVolume. I want to listen to a webradio and I cannot find an example with the peterhinch library.
Thank you.
by Didtho
Fri Apr 30, 2021 11:30 pm
Forum: ESP32 boards
Topic: [Errno 112] EADDRINUSE
Replies: 4
Views: 9001

Re: [Errno 112] EADDRINUSE

Thank you so much. It seems to work with the line you made me add.
by Didtho
Fri Apr 30, 2021 8:28 am
Forum: ESP32 boards
Topic: [Errno 112] EADDRINUSE
Replies: 4
Views: 9001

Re: [Errno 112] EADDRINUSE

This is part of the code that I have lightened. Socket is not used anywhere other than there. For the output variable, it contains my html page. s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(('', 80)) s.listen(5) while True: r, w, err = select.select((s,), (), (), 1) if r: for readabl...
by Didtho
Thu Apr 29, 2021 11:08 pm
Forum: ESP32 boards
Topic: [Errno 112] EADDRINUSE
Replies: 4
Views: 9001

[Errno 112] EADDRINUSE

Hello, I am having a problem with the web server. Each time the server is restarted, I have the error [Errno 112] EADDRINUSE on the line s.bind (('', 80)) I have to wait about 2 minutes to be able to restart it without problem. I am in micropython v1.15 with an ESP32. Can you solve my problem? Thank...