0

Adafruit NeoPixel Library - Missing 'fill'

When trying to work with the NeoPixel Ring (24) I want to fill all pixels with the same color at the same time, using strip.fill ... When I add this to my code it gives the following error:

error: 'class Adafruit_NeoPixel' has no member named 'fill'

When I compile this code in the Arduino IDE, it verifies without a problem.. I'm not sure if the library that is used is an old one, or if there's some other problem going on here.

 

The line getting the error:
strip.fill(strip.Color(0,255,0),0, 24);

1 comment

Please sign in to leave a comment.