Hi there - I'm pretty new to libraries in arduino (and c++) and I'd

Hi there - I’m pretty new to libraries in arduino (and c++) and I’d like a hint on where to start to understand the syntax:

FastLED.addLeds<APA102, DATA_PIN, CLOCK_PIN, BGR>(leds, NUM_LEDS);

How do I make sense of the ‘<’ and ‘>’ operators there and is that a call to a class method (addLeds) on the FastLED class?

It does work flawlessly and I get to drive my APA102 lights easily but I hate not to understand what I’m doing in my code… So thanks for any hint to get me started (I did try to look at basic syntax of C++ but could not understand this)

forget it - found out it’s likely the use of template. just let me know if I got that wrong - thx

yes, the brackets are used for templates. there are different addLeds methods in the class to support different controllers etc.