Closed kurogedelic closed 8 months ago
This is a bug for the board package owner. I searched, and for some reason they use PIN_NOT_A_PIN instead of the standard NOT_A_PIN. I would suggest raising the issue with them.
In the mean time, before you include NeoPixelBus, just add this...
#define NOT_A_PIN PIN_NOT_A_PIN
and it should work.
Note, the final value of this symbol is highly dependent on the uC maker, sometimes it 0, sometimes its -1, in this case its UINT_MAX.
I added in my .ino "#define NOT_A_PIN PIN_NOT_A_PIN" but I get a similar error. (on any line) Replacing it with "NOT_A_PORT" by IDE suggestion also fails.
I will report it to the board package project. thanks.
I added a workaround in this pull. https://github.com/Makuna/NeoPixelBus/pull/730
Also added where there was no alternative to map it to -1.
Thanks for a wonderful library ! I tried "NeoPixelTest.ino" build for SAMD21 architectures e.g. Seeed XIAO M0, Arduino M0. there's compile error.
thanks