todicus:
I am also getting these errors for the Demo 2 sketch called “MusicPlayWithName.ino”, using Arduino 1.01:
/Arduino/libraries/MusicShieldNewSDLib/player.cpp: In function ‘int playFile()’:
/Arduino/libraries/MusicShieldNewSDLib/player.cpp:136: error: ‘listoffset’ was not declared in this scope
/Arduino/libraries/MusicShieldNewSDLib/player.cpp:137: error: ‘indexlist’ was not declared in this scope
Looking at the code, it certainly does appear that these variables are never defined. Has anyone gotten Demo 2 sketches to work? The Demo 1 sketch “musicPlayAll.ino” works just fine on my hardware.
Dear todicus
Here is something you might notice:the MusicShieldNewSDLib can’t co-exist with MusicPlayer_v1_7 or other versions,so you would delete others within libraries.The same to Fat16.
Might those would be helpful to you.
Best Regards
Jacket