Using on Board NeoPixel with Arduino IDE

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
GDUDLEY
 
Posts: 4
Joined: Sat May 28, 2022 12:06 am

Using on Board NeoPixel with Arduino IDE

Post by GDUDLEY »

On the feather RP2040 can anyone provide an example script of how to use the on borad neopixel in Arduino IDE. I've had no issues in the other code, but I can't get it going in arduino.

Thanks for any help.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Using on Board NeoPixel with Arduino IDE

Post by Franklin97355 »

What are you using for the code? In the code, you should have a length of 1 and set the pixel 0 to what you want it to be.

User avatar
GDUDLEY
 
Posts: 4
Joined: Sat May 28, 2022 12:06 am

Re: Using on Board NeoPixel with Arduino IDE

Post by GDUDLEY »

Hey Franklin, Not sure what pins the onboard neopixel is tied to in order to put something together. The LED built in command just uses the small red LED. What I'm missing is how you address the on Neopixel. Probably there is a direct command to initiate like the LED_BUILTIN, but I'm not familiar enough to know it. Maybe A02 and A01

I can run the external ones on a breadboard with no issues.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Using on Board NeoPixel with Arduino IDE

Post by Franklin97355 »

According to this learn article the neopixel is on gpio 16

User avatar
GDUDLEY
 
Posts: 4
Joined: Sat May 28, 2022 12:06 am

Re: Using on Board NeoPixel with Arduino IDE

Post by GDUDLEY »

AH! I looked a bunch of times at the pinout and was looking over where it is instead of to the side there. I feel silly for missing that one. Thank you sir!!

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”