VS1053 MP3 player and Arduino Zero board

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Altrane
 
Posts: 2
Joined: Tue Jun 16, 2015 4:17 pm

VS1053 MP3 player and Arduino Zero board

Post by Altrane »

Hi,
Using 1.6.5 IDE I'm unable to compile the basic sketch "Player_simple" (File->Examples->Adafruit_VS1053_Codec->player_simple) for the new Arduino Zero board.
Works fine for Arduino UNO.

Is there some new libraries comming soon ?

Hereunder compile errors :

Les options de compilation ont été modifiées, tout sera recompilé
D:\Arduino165\arduino-1.6.5\libraries\Adafruit_VS1053_Library-master\Adafruit_VS1053.cpp: In member function 'void Adafruit_VS1053_FilePlayer::feedBuffer()':
D:\Arduino165\arduino-1.6.5\libraries\Adafruit_VS1053_Library-master\Adafruit_VS1053.cpp:249:14: error: 'SREG' was not declared in this scope
sregsave = SREG;
^
D:\Arduino165\arduino-1.6.5\libraries\Adafruit_VS1053_Library-master\Adafruit_VS1053.cpp:250:7: error: 'cli' was not declared in this scope
cli();
^
D:\Arduino165\arduino-1.6.5\libraries\Adafruit_VS1053_Library-master\Adafruit_VS1053.cpp: In constructor 'Adafruit_VS1053::Adafruit_VS1053(int8_t, int8_t, int8_t, int8_t, int8_t, int8_t, int8_t)':
D:\Arduino165\arduino-1.6.5\libraries\Adafruit_VS1053_Library-master\Adafruit_VS1053.cpp:312:14: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
clkportreg = portOutputRegister(digitalPinToPort(_clk));
^
D:\Arduino165\arduino-1.6.5\libraries\Adafruit_VS1053_Library-master\Adafruit_VS1053.cpp:314:15: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
misoportreg = portInputRegister(digitalPinToPort(_miso));
^
D:\Arduino165\arduino-1.6.5\libraries\Adafruit_VS1053_Library-master\Adafruit_VS1053.cpp:316:15: error: cannot convert 'volatile uint32_t* {aka volatile long unsigned int*}' to 'PortReg* {aka volatile unsigned char*}' in assignment
mosiportreg = portOutputRegister(digitalPinToPort(_mosi));
^
Erreur lors de la compilation.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: VS1053 MP3 player and Arduino Zero board

Post by Franklin97355 »

Is there some new libraries comming soon ?
Last time I heard Adafruit had not received any Zero boards so has not had anything to test libraries with.

User avatar
Altrane
 
Posts: 2
Joined: Tue Jun 16, 2015 4:17 pm

Re: VS1053 MP3 player and Arduino Zero board

Post by Altrane »

franklin97355 wrote:
Is there some new libraries comming soon ?
Last time I heard Adafruit had not received any Zero boards so has not had anything to test libraries with.
Hi,
There is no need to have a card. Simply load the sketch and do "Sketch" --> Verify-Compile.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: VS1053 MP3 player and Arduino Zero board

Post by Franklin97355 »

That library has not been ported yet and no ETA is available, sorry.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”