I am using a lot of Neopixels in my projects.
After receiving my ARGONS and XENONS I wanted to put some LED’s on and light the place up, but god this error.
#error "*** PLATFORM_ID not supported by this library. PLATFORM should be Core, Photon, P1, Electron or RedBear Duo ***"
I Know that it must be because the lib is referenced to the device_ID, and not supporting the new MESH devices,
then my question is, is there a way around this? or will the lib be updated?
Thanks,
You can file an issue on the author’s github repo if listed in the IDE. Otherwise, you’ll have to copy the library contents and add the functionality yourself. If you patient, someone else will probably get to it. It’s a little early for all the porting to be completed by the respective authors.
There is an open pull request for the neopixel library to support mesh devices. As the neopixel library is just two files, you could just copy the fixed neopixel.cpp and neopixel.h files until the verified library is updated, as well.
It worked directly. I did not need a logic shifter. That being said, the pull request has been incorporated so you should be able to use the library directly now.
I know it has been well over a year since it says this issue was fixed, but I am trying to use the neopixel library and the Particle Argon with my IoT class, and I am seeing the same error that started this thread. Any suggestions on what might be amiss?
c:/Users/IoTPa/Documents/Brian/Particle/NeoMatrix/lib/neopixel/src/neopixel.cpp:63y this library. PLATFORM should be Core, Photon, P1, Electron or RedBear Duo ***"
#error "*** PLATFORM_ID not supported by this library. PLATFORM should be Core,
@ScruffR Thank you.
I am using a NeoPixel Matrix. When I install the neopixelmatrix library (using Install Library in VScode) it installs the neopixel library - however, it installs an earlier version that does not have the PLATFORM_ID == 12 definitions.
So, if I install nepixel 1.0.0 [verified] first, then I can get the right neopixel library. I guess that is why the [verified] is important.
Is there a way to notify someone about the issues with neopixelmatrix 0.0.1?
If the contributor has provided a link to the GitHub repo of the library and has allowed issue reports, that would be the place to do that.
For the library in question both conditions are true so you can do that here
But on checking the library.properties file of that library it already is referencing the 1.0.0 version of the neopixel library but the contributor obviously forgot to upload and publish the updated version to the Particle Library repository.