11Views1Replies

Author Options:

Compile error: 'NEO_GRBW' was not declared in this scope? Answered

This is the full error message:

button_input_NeoPixel_output:50: error: 'NEO_GRBW' was not declared in this scope

Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_LEDS, PIXELS_PIN, NEO_GRBW + NEO_KHZ800);

1 Replies

user
bekathwiaBest Answer (author)2017-07-04

If the sketch won't compile, you're either missing the NeoPixel library or missing the line of code that includes the library. Here's a referesher on installing the library, let us know if that was the issue!:

https://www.instructables.com/lesson/Skills-Infusi...

Select as Best AnswerUndo Best Answer