MrYsLab / NeoPixelConnect

A PIO based WS2812 NeoPixel library for the Arduino Nano RP2040 Connect, and Raspberry Pi Pico
GNU Affero General Public License v3.0
27 stars 5 forks source link

#define MAXIMUM_NUM_NEOPIXELS is misplaced in the example. #7

Closed vfr1200f closed 2 months ago

vfr1200f commented 2 months ago

#define MAXIMUM_NUM_NEOPIXELS 8 should be before #include <NeoPixelConnect.h> in the example. I get redefinition error otherwise. Placing it before the include actually works.

MrYsLab commented 2 months ago

Thanks for reporting this. It is fixed in release 1.2.1