Hello all you amazing LED fanatics! I'm having some trouble with blur function code.

Hello all you amazing LED fanatics! I’m having some trouble with blur function code. I am new to coding so bear with me. I tried deleting the FastLED library and replacing it with the newest available(3.1) but I’m still at a loss. Hopefully someone can help. Here is my error:

testblur002.ino: In function ‘void blur()’:
testblur002:89: error: ‘blur2d’ was not declared in this scope

Could you post your code?
And off the top of my head: did you define an “XY” function for your matrix?

Also, if you enable verbose compiler output in Arduino preferences, it’ll show the path of all the libraries that are being included. It’s handy sometimes for tracking down multiple/older library versions, since they can be in the Arduino libraries folder and your sketchbook libraries folder.

@Mark_Kriegsman Thank you for your response. I double checked my code and realized that I was operating with an older FastLED library.

@Jason_Coon Thanks for that! I was able to see what the problem was.

On the blur2d code:

uint8_t blurAmount = beatsin8(2,10,255);
blur2d( leds, kMatrixWidth, kMatrixHeight, blurAmount);

What do these parameters (2,10,255) reference?

Beatsin makes a sine wave of values (in this case 10…255) at a specified number of beats per minute, in this case: 2.

Lots more info in the library itself; search for beatsin: https://github.com/FastLED/FastLED/blob/FastLED3.1/lib8tion.h