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.
Using on Board NeoPixel with Arduino IDE
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Using on Board NeoPixel with Arduino IDE
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.
- GDUDLEY
- Posts: 4
- Joined: Sat May 28, 2022 12:06 am
Re: Using on Board NeoPixel with Arduino IDE
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.
I can run the external ones on a breadboard with no issues.
- Franklin97355
- Posts: 23911
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Using on Board NeoPixel with Arduino IDE
According to this learn article the neopixel is on gpio 16
- GDUDLEY
- Posts: 4
- Joined: Sat May 28, 2022 12:06 am
Re: Using on Board NeoPixel with Arduino IDE
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!!
Please be positive and constructive with your questions and comments.