Search found 3 matches
- Thu Apr 30, 2020 1:20 pm
- Forum: Programs, Libraries and Tools
- Topic: VS1053 asynchronous socket read
- Replies: 5
- Views: 4565
Re: VS1053 asynchronous socket read
here is my internet radio code: from machine import Pin, SPI from vs1053 import vs1053 import uasyncio as asyncio sck = Pin(14) miso = Pin(12) mosi = Pin(13) spi = SPI(1, 160000 , sck=sck, mosi=mosi, miso=miso) player = vs1053.Player( spi, xResetPin = 27, dReqPin = 34, xDCSPin = 33, xCSPin = 32, CSP...
- Fri Apr 24, 2020 10:15 am
- Forum: ESP8266 boards
- Topic: D1 Mini & VS1053b
- Replies: 11
- Views: 7094
Re: D1 Mini & VS1053b
i wonder is there any replace function for "spi.try_lock()" and "spi.unlock()" in mocropython, i removed these line form micropython code @ https://github.com/urish/vs1053-circuitpython and change the gpio acording to micropython - i could run internet radio . but wand to find the way to replace spi...
- Thu Apr 23, 2020 6:01 pm
- Forum: ESP8266 boards
- Topic: D1 Mini & VS1053b
- Replies: 11
- Views: 7094
Re: D1 Mini & VS1053b
this code works on esp32 micropython : https://github.com/urish/vs1053-circuitpython with little modification