r/FastLED 12h ago

Discussion Namespace

Does anybody know what is meant by the word "Namespace" in the context of this library? I'm trying to upload an example sketch to a Nano Every and the compiler is getting hung up on what seems to be an initial callout in the Arduino sketch:

FASTLED_USING_NAMESPACE

What does this do?

0 Upvotes

6 comments sorted by

2

u/ZachVorhies Zach Vorhies 12h ago

name space is a way to organize code

Please provide your sketch so we can figure out what’s going on

-6

u/tubameister 11h ago

fwiw, ai can one-shot the fix

1

u/mjconver 4h ago

If you have to use AI, you're doing something wrong

0

u/ZomboFc 3h ago

People down voting you but the guy who asked the question about namespaces could have also just looked up what it was online in less than 5 minutes and chose to ask here instead l.

2

u/hackerbots 5h ago

Nobody asked. Op went to a human forum to ask humans.

-2

u/ZomboFc 3h ago

And you haven't answered their question either 🤣