can somebody help me, migrating the NoiseSmearingPalettes pattern (made by Jason Coon) to the new sm3 library ?
I’ve already checked the migration help file from the sm3 library, but I’m not able to get that sketch to life. I’ve have taken a look on the [PatternNoiseSmearing.h file] (https://github.com/pixelmatix/aurora/blob/master/PatternNoiseSmearing.h) in the aurora project too, but I’m not getting smarter.
Can somebody tell me how to translate the following syntaxes:
- the two CRGB leds code lines (line 21-22), and as followed, everywhere in the sketch the “leds” & “leds2” syntaxes (the difficulty is, that there are two of “CRGB leds”)
- the PIXELA and PIXELB code lines (starting with line 344)
- the following code line: “leds[i].nscale8(value);” (line 247. When I’m changing “leds” to “buffer”, as in the migration file described, I’m getting the error, that nscale8 is not member of buffer(I know it’s a beginner mistake )
I’m new to smartmatrix, but I don’t believe in obstacles when it comes to reach the goal. I would appreciate, if somebody can help with this issue.
Thanks in advance