Using Adafruit NeoPixel and a Servo on a Photon

I have build a device on an Arduino using a servo and an Adafruit NeoPixel Jewel. Now I want to make it mobile by using a Photon.
The trouble is that on the Arduino, to use the NeoPixel and Servo, a different library must be used for the servo (https://learn.adafruit.com/neopixels-and-servos/overview).

Is this the same on the Photon, has anyone used a NeoPixel and Servo together? If so, does it work? What are my best option, and do you have any advice?

Thanks,
Stuart

There is a Servo library on-board that just works out the box (no include required).
https://docs.particle.io/reference/firmware/photon/#servo
And for NeoPixel there are community libraries available on Particle Build.

Best option: Just give it a shot - if you get stuck, we’ll help you getting unstuck :sunglasses:

2 Likes

Thank you for the help. I will give it a shot and see what happens. :smile: