QT Py NeoPixel LEDs
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- yzfoot
- Posts: 77
- Joined: Wed Dec 08, 2021 6:02 pm
QT Py NeoPixel LEDs
Question about the NeoPixel LEDs onboard the QT Py. I will not be using circuitPython. Can you point me to information/example on how to access the onboard NeoPixel LEDs.
- dastels
- Posts: 15670
- Joined: Tue Oct 20, 2015 3:22 pm
Re: QT Py NeoPixel LEDs
See https://learn.adafruit.com/adafruit-qt- ... ixel-blink, https://learn.adafruit.com/adafruit-qt- ... ixel-blink, or for the QTPy RP2040 use the code from one of those and get the pin from https://learn.adafruit.com/adafruit-qt-py-2040/pinouts
Dave
Dave
- yzfoot
- Posts: 77
- Joined: Wed Dec 08, 2021 6:02 pm
Re: QT Py NeoPixel LEDs
I don't see the location of PIN_NEOPIXEL for QT Py (Product ID: 4600) called out anywhere in the examples or libraries and I don't yet have the device in hand. I'm assuming a single Neo Pixel is hardwired somewhere on the QT Py or have I misinterpreted something ?
- adafruit2
- Posts: 22149
- Joined: Fri Mar 11, 2005 7:36 pm
Re: QT Py NeoPixel LEDs
yep there is one built in onto the board!
- yzfoot
- Posts: 77
- Joined: Wed Dec 08, 2021 6:02 pm
Re: QT Py NeoPixel LEDs
OK I finally found it. I'll post here for others that may have the same issue.
-----------------------------------------------------------------------------
Onboard Neopixel pins
There is a very tiny NeoPixel that is connected to digital pin 11 for signal. If you would like to turn off the pixel for low power usage, set pin 12 low. By default pin 12 is set high for you by Arduino/CircuitPython
---------------------------------------------------------------------------------
This forum is a wonderful addition and is well manned by the knowledgeable. Having said that I'll also add that far too often critical information is hidden down far too many rabbit holes, many of which are circular. Many of these separate pages carry identical information. It could be arranged better.
-----------------------------------------------------------------------------
Onboard Neopixel pins
There is a very tiny NeoPixel that is connected to digital pin 11 for signal. If you would like to turn off the pixel for low power usage, set pin 12 low. By default pin 12 is set high for you by Arduino/CircuitPython
---------------------------------------------------------------------------------
This forum is a wonderful addition and is well manned by the knowledgeable. Having said that I'll also add that far too often critical information is hidden down far too many rabbit holes, many of which are circular. Many of these separate pages carry identical information. It could be arranged better.
Please be positive and constructive with your questions and comments.