Adafruit_NeoPixel
NeoPixelBus
Adafruit_NeoPixel | NeoPixelBus | |
---|---|---|
16 | 12 | |
2,990 | 1,151 | |
0.7% | - | |
4.1 | 7.9 | |
7 days ago | 11 days ago | |
C++ | C++ | |
GNU Lesser General Public License v3.0 only | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Adafruit_NeoPixel
-
BIQU B1 Marlin 2.1.2 NEOPIXEL not working properly
// Support for Adafruit NeoPixel LED driver #define NEOPIXEL_LED #if ENABLED(NEOPIXEL_LED) #define NEOPIXEL_TYPE NEO_GRB // NEO_GRBW, NEO_RGBW, NEO_GRB, NEO_RBG, etc. // See https://github.com/adafruit/Adafruit_NeoPixel/blob/master/Adafruit_NeoPixel.h //#define NEOPIXEL_PIN 4 // LED driving pin //#define NEOPIXEL2_TYPE NEOPIXEL_TYPE //#define NEOPIXEL2_PIN 5 #define NEOPIXEL_PIXELS 2 // Number of LEDs in the strip. (Longest strip when NEOPIXEL2_SEPARATE is disabled.) //#define NEOPIXEL_IS_SEQUENTIAL // Sequential display for temperature change - LED by LED. Disable to change all LEDs at once. #define NEOPIXEL_BRIGHTNESS 255 // Initial brightness (0-255) #define NEOPIXEL_STARTUP_TEST // Cycle through colors at startup // Support for second Adafruit NeoPixel LED driver controlled with M150 S1 ... //#define NEOPIXEL2_SEPARATE #if ENABLED(NEOPIXEL2_SEPARATE) #define NEOPIXEL2_PIXELS 15 // Number of LEDs in the second strip #define NEOPIXEL2_BRIGHTNESS 127 // Initial brightness (0-255) #define NEOPIXEL2_STARTUP_TEST // Cycle through colors at startup #define NEOPIXEL_M150_DEFAULT -1 // Default strip for M150 without 'S'. Use -1 to set all by default. #else //#define NEOPIXEL2_INSERIES // Default behavior is NeoPixel 2 in parallel #endif // Use some of the NeoPixel LEDs for static (background) lighting //#define NEOPIXEL_BKGD_INDEX_FIRST 0 // Index of the first background LED //#define NEOPIXEL_BKGD_INDEX_LAST 5 // Index of the last background LED //#define NEOPIXEL_BKGD_COLOR { 255, 255, 255, 0 } // R, G, B, W //#define NEOPIXEL_BKGD_ALWAYS_ON // Keep the backlight on when other NeoPixels are off #endif
-
RGB calibrate gives me magenta, cyan, yellow
neopixel code is the strandtest: https://github.com/adafruit/Adafruit_NeoPixel/blob/master/examples/strandtest/strandtest.ino
-
Can someone tell me how i can turn on the LED
Lookup NeoPixel library
- FYSETC Mini 12864 v2.1 (RGB) + Octopus v1.1 + Marlin 2.1.x
-
Building an Array of "nop" write commands
adafruit/Adafruit_NeoPixel has assembly code for AVR. Plus ESP and Rpi which are a lot easier to read. And the protocol does look like inverted WS2812; it should be possible, although tedious, to modify the library to invert the pin.
-
What is causing a delay in my loop?
I looked at the neopixel github and I couldn't find any functions that took floats as arguments, so I think you can get away without using floats because they're reinterpreted as ints and truncated anyway, but if what you have works then don't bother.
-
RGB/RGBW mix and match help!
I'm not sure if that is the same thing. Back when I used it I got it from Adafruit which links to this Github.
-
NeoPixels on the Arduino Nano RP2040
The most important question first, the Adafruit NeoPixel Library does support the RP2040 since version 1.10.2. So make sure you are using the right version. To install the library please follow the steps explained here: Adafruit NeoPixel Installation.
-
Neopixels: ultra-low RAM
The Adafruit Neopixel library is great, but uses 3 bytes of RAM per pixel....in my application that's nearly 3kB (for the pixels alone!), which rules out the M328/Uno, and basically all of the 8-bit chips. I have a prototype running well using Adafruit's Neopixel library on a Mega 2560, but those are hard to source in the current market. And it's overkill for my use case.
-
Is it possible to program a 5mm neopixel LED in a way where one switch turns it on, and then the activation of another switch changes the color?
Using something like the Adafruit NeoPixel library there are commands to set intensity and to set color: setBrightness() setPixelColor()
NeoPixelBus
-
Does anyone use RGBW addressable leds?
This library (and some others) supports them: https://github.com/Makuna/NeoPixelBus
-
Example: FastLED for RGBW strips (via NeoPixelBus and NPBColorLib)
FastLED doesn't natively support RGBW addressable strips as of version 3.5.0 (October 2022). The alternate library NeoPixelBus does support RGBW strips, but handles animation in a completely different way than FastLED does.This snippet is an example of a way to shuttle data from FastLED RGB to NeoPixelBus RGBW, for folks (like me!) who prefer creating animations with FastLED.The additional library NPBColorLib is needed because NeoPixelBus doesn't (currently) use the white channel when converting RGB to RGBW -- see https://github.com/Makuna/NeoPixelBus/issues/323Tested with:FastLED, version 3.5.0 from https://github.com/FastLED/FastLEDNeoPixelBus, version 2.7.0 from https://github.com/Makuna/NeoPixelBusNPBColorLib, updated 2020-05-29 from https://github.com/jackjansen/NPBColorLib
-
Lots of issues with NodeMCU and led libraries
I know it sounds insane, but it was an example script and I had issues with other example scripts too. Here's the example: https://github.com/Makuna/NeoPixelBus/blob/master/examples/NeoPixelBrightness/NeoPixelBrightness.ino
- How do you measure the task switching rate inside the kernel?
-
RGB/RGBW mix and match help!
Do you mean https://github.com/Makuna/NeoPixelBus ?
- ceiling light potential project advice
-
Help finding a Non 12E version of the 8266
One of the issues I ran into with LED chains (not the same kind of setup as this) was that some of the data pins on ESP8266 support hardware PWM and some don't. The LED library I used automatically did software PWM / bit-banging on the later pins. This bogged down the processor enough to make the wifi & IR-reception flakey when the number of LEDs was too high. https://github.com/Makuna/NeoPixelBus/wiki/ESP8266-NeoMethods has a bit on that - essentially only GPIO 1,2,3 support non-bit-banging. Depending on the board, you'll have different GPIO pins in different places, and some perhaps not available at all. I don't know how this LED panel is controlled, my guess is that some of the control pins need to be at high resolution, and that using hardware for that as much as possible will reduce the overhead needed, making it all run smoother.
-
Fastled Alternative for RGBW led strips
That said, if you need RGBW support right now you could look at NeoPixelBus. It has very few of the capabilities of FastLED though...
-
Best RGBW conversion method?
Have you also tried Makuna's Neopixelbus for pushing out the RGBW pixels? Same thing with slower framerate?
-
PCB/Schematic Review - ESP-12E LED Controller
Double-check that the outputs you chose will work for WLED (all of them will need "bit-banging" to generate the signal, which takes a bit of processing power - GPIO1,2,3 would be able to generate the signal directly). If you have a dev-board, this should be easy to check.
What are some alternatives?
kmk_firmware - Clackety Keyboards Powered by Python
HyperHDR - Highly optimized open source ambient lighting implementation based on modern digital video and audio stream analysis for Windows, macOS and Linux (x86 and Raspberry Pi / ARM).
qmk_firmware - See the "forkreadme" branch or the following link for a description of branches maintained in this fork.
ESPixelStick - Firmware for the ESPixelStick
Adafruit_SH110x - Arduino library for SH110x based monochrome OLEDs
FastLED - The FastLED library for colored LED animation on Arduino. Please direct questions/requests for help to the FastLED Reddit community: http://fastled.io/r We'd like to use github "issues" just for tracking library bugs / enhancements.
TelnetStream - Arduino Stream implementation over Telnet for OTA logging and debugging
WLED-wemos-shield - Wemos D1 Mini (ESP8266) or Wemos ESP32 D1 Mini (ESP32) based universal shield for WLED firmware
NeoPixel-Stair - Stair LedLights, using NeoPixel Ledstrips and an Arduino
ArcticKiwii-Pegboard-Lights - A multi-pattern led strip w/ potentiometers for hue/brightness and a button.
esp32WS2811 - Arduino library for ESP32 to drive WS2811 LEDs using the RMT peripheral