This library is very good for his lightweight and reliability but in every sketch, with any kind of library or without libraries, that occupies more than 39% of dynamic memory... it doesn't work!
Error code 128
I found this in 'SimpleSDAudio.h' with the corresponding hex error code
Post a link to where you got the library from. Please use the chain links icon on the toolbar to make it clickable. Or if you installed it using Library Manger (Sketch > Include Library > Manage Libraries) then say so and state the full name of the library.
feddynventor:
but in every sketch, with any kind of library or without libraries, that occupies more than 39% of dynamic memory... it doesn't work!
Keep in mind the 39% is only the dynamic memory used by globals in your code. You also need enough dynamic memory for local usage.
feddynventor:
Error code 128
Where do you encounter that error?
feddynventor:
I found this in 'SimpleSDAudio.h' with the corresponding hex error code
#define SSDA_ERROR_NULL 0x80 // Null pointer
What does it means?
It means the macro SSDA_ERROR_NULL is defined as 0x80.
feddynventor:
This library is very good for his lightweight and reliability but in every sketch, with any kind of library or without libraries, that occupies more than 39% of dynamic memory... it doesn't work!
Error code 128
I found this in 'SimpleSDAudio.h' with the corresponding hex error code
#define SSDA_ERROR_NULL 0x80 // Null pointer
What does it means?
Where is the offending line in the .h file?
The code means malloc failed. You don't have enough RAM. Checkout the method SDPlayClass::init() in
SimpleSDAudio.cpp
MarkT:
The code means malloc failed. You don't have enough RAM. Checkout the method SDPlayClass::init() in
SimpleSDAudio.cpp
Trying forcing some checks in that file.
But I'm thinking... the program won't work anymore because there isn't enough phisical space.
So... in my opinion, I can do nothing