Closed alpha815 closed 3 years ago
What version of SmartMatrix Library are you running? You're including SmartMatrix3.h so it seems out of date. I'm reluctant to help you with an out of date version as the fix may be different for the latest released version (4.0.3). I'm also reluctant to ask you to update as it may break other code that you currently have working.
Maybe you can make a copy of the "SmartMatrix3" folder in Arduino/libraries so you can copy it back and go back to the version that's working with your other code if needed? You should be able to download the latest release and install it into libraries/SmartMatrix (not SmartMatrix3) and have both working in parallel. You'll need to update your sketches to use SmartMatrix.h and maybe other minor changes, see MIGRATION.md. You may also need to update Marc's SmartMatrix::GFX library.
Anyway, I found it's an easy fix:
nblend((CRGB&)buffer[pixelnumber], newcolor, 64);
it is working now thanks
i was trying to port fastled pride2015 example for smartmatrix following this guideline after making some changes in code i tried to complile sketch and encontered following error. here is code