You might need to leave some extra RAM for the WiFi library (or other libraries) to use. You can pass the number of bytes you need left free as an argument to matrix.begin()
, check out the AnimatedGIFs example.
I don’t know what to tell you, the code expects char*
, maybe you should copy your int buffer to a char buffer before trying to use the string.