How to #include an external library when building an extension?


#1

I want to include an external library (example: https://github.com/FastLED/FastLED) when creating an extension. How to do that?

When I am using the Arduino IDE, I can just use the library manager (shown below). How do do that for the extensions?

(How to include a library like this when making an extension in mblock?)

I see that it has a place to include .pp and .h files but how to include the entire library from a repo like this: https://github.com/FastLED/FastLED.

Any example or demo or video would really help.


#2

Upload all the .cpp and .h files he uploaded in the “src” folder: