import vs1053
import board
import busio
spi = busio.SPI(board.P0_22, MISO=board.P0_20, MOSI=board.P1_00)
player = vs1053.Player(
spi,
xResetPin = board.P1_10,
dReqPin = board.P1_13,
xDCSPin = board.P1_15,
xCSPin = board.P0_02,
CSPin = board.P0_24
)
inputFile = open('test.mp3', mode='rb')
buf = bytearray(32)
while inputFile.readinto(buf):
player.writeData(buf)
forked from urish/vs1053-circuitpython
-
Notifications
You must be signed in to change notification settings - Fork 0
gyroing/vs1053-circuitpython
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
VS1053B driver for CircuitPython
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%