## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• Sep 15 22:09
rgb-empire opened #889
• Sep 14 00:52
alinosa edited #888
• Sep 14 00:52
alinosa opened #888
• Sep 13 19:08
marmilicious commented #887
• Sep 13 15:47
GunMoe opened #887
• Sep 12 18:52
KaizenKuba edited #886
• Sep 12 18:50
KaizenKuba edited #886
• Sep 12 18:49
KaizenKuba edited #886
• Sep 12 18:48
KaizenKuba edited #886
• Sep 12 18:48
KaizenKuba edited #886
• Sep 12 18:46
KaizenKuba opened #886
• Sep 12 03:09
outlandnish commented #771
• Sep 10 11:28
berylleigh commented #744
• Sep 10 11:22
berylleigh commented #769
• Sep 10 11:20
berylleigh commented #769
• Sep 09 19:06
BYohann commented #787
• Sep 08 12:38
Vizis closed #885
• Sep 08 12:38
Vizis commented #885
• Sep 08 11:51
GianniDPC commented #885
• Sep 08 11:51
GianniDPC commented #885
Marc Miller
@marmilicious
@Daniel__Haber_twitter Maybe a silly question, but did you confirm what the color order was for the Ducenti and specify something different then default if needed? https://github.com/FastLED/FastLED/blob/master/examples/RGBCalibrate/RGBCalibrate.ino
Daniel Haber
ah ok so the Ducenti is RGB and the WS2813s are GRB. I'm initializing the LEDs with "LEDS.addLeds<OCTOWS2811>(leds, NUM_LEDS_PER_STRIP);" and the OCTOWS2811 library defaults to GRB
Daniel Haber
Learned the lesson of not mixing LED types in 1 project the hard way haha
Daniel Haber
If I have LEDs showing full white and there is a tiny bit of flickering, why does that happen? Is it a power thing?
Marc Miller
@marmilicious
Daniel Garcia
@focalintent
It could also be a dithering thing
Daniel Haber
sorry for going mia. So my code for this project is messier than a roomba spreading dog poop. I have to set up the whole thing again to confirm when exactly I'm seeing the flickering. For now, I can say that I have the line "LEDS.setBrightness(100);" in loop() (which i guess can just go in setup() ) and I am changing the brightness by changing the volume input in CHSV(h, s, v)
Daniel Garcia
@focalintent
You can quickly test the dithering thing by disabling dithering in setup
Daniel Haber
awesome, I'll test that out tonight or tomorrow
Daniel Haber
disabling dithering did not help but my voltmeter shows a large voltage drop so I'm going to try addressing that first
ISWlehre
@ISWlehre

Hello, i'm having issues with ESP-32, WS2812 and WiFi (Webserver, OTA,...) .
What I've tried so far:

1. Tried to use Logic Level Shifter 3,3V to 5V - no improvements
2. Tried a small sketch (used Demoreel100) without WiFi etc. - works fine.
3. As described in the Wiki I defined "FASTLED_ALLOW_INTERRUPTS 0" & "FASTLED_INTERRUPT_RETRY_COUNT 1" before the include - no success

For testing I'm using the Demoreel100 sketch. In some of the Patterns I was wondering whether its a feature or a bug. In the pattern sinelon it's pretty obvious: Some Leds are lighting up for a really short period of time, that are not supposed to light up. (The rest of the stripe doesn't stay dark(is flickering))

Rina Shkrabova
@eshkrab
Hey guys!
this is might be crazy because it's so basterdized but I've made a port of FastLED for esp-idf a little while back, for esp32 microcontrollers
and just today I made a port of that FastLED to support rgbw strips
Like, went through all the low level stuff, made the main object into CRGBW, added the extra byte everywhere, and added a new clockless controller for SK6812W, adding a new parameter in the clockless controller object that is the number of bytes, and send different things based on whether 3 or 4 bytes in that type of strip
It's somewhat brute forced and the result runs slower than the original library, but in case someone wants it!
Marc Miller
@marmilicious
@eshkrab Ooh interesting. And I bet you learned something along the way. Thank you for sharing, do you have video of how it's working?
FireHopper
hello all, longtime fastled user, but I have a small question for you all..
trying to run demo100 on a arduino due using the adafruit dotstar 8x8 matrix, however the due doesnt actually tell you what pins the spi pins are, so I have no idea what to put in the startup command. using the dotstar lib for the due you tell it to start without any pins at all, and it works! I was going to use a teensy but theres a power issue with it, that I think I need to supply a seperate 5 volt supply to get it to work.
Marc Miller
@marmilicious
On the Arduino Due, for hardware SPI, data on pin 75, clock on pin 76.
https://github.com/FastLED/FastLED/wiki/SPI-Hardware-or-Bit-banging
Andreas Merkle
@BlueAndi
I am using FastLED version 3.2.9 with an ESP32 on pin 27. According to the sourcecode in clockless_rmt_esp32.h the RMT peripheral is automatically used.
Anyway I get the message "No hardware SPI pins defined. All SPI access will default to bitbanged output" on the console. Is this ok?
Marc Miller
@marmilicious
@BlueAndi You might asking your question on the reddit group too. http://fastled.io/r
Andreas Merkle
@BlueAndi
@marmilicious Ok, will do.
barnosch
@barnosch

Anyone tried the new Arduino Nano "Every" with the library. Can't even get a example to be compiled, since i get a "E:\tools\Arduino-1.8.x portable\portable\sketchbook\libraries\FastLED/fastpin.h:207:2: error: static assertion failed: Invalid pin specified

static_assert(validpin(), "Invalid pin specified");" error. Any suggestions?

Braeden
@braedenf
Does anyone have suggestions or solutions to driving an LED strip with the TM1914 IC chipset? I am using a Teensy 3.2 microcontroller. I can drive the LEDs with a SP108E wifi controller and using the LED Shop app to create patterns etc. I want to use use a Teensy so use some sensors to trigger animations. Any ideas are welcome.
Michael G.
@dragetd
I feel silly, but even after researching on the wiki, faq, google etc. for a while I could not solve it: I am using the esp8266 which supposedly has a hardware SPI. But whenever I use the latest FastLED library it says, no hardware SPI pins defined and falls back to software SPI. Which works… but since the 8266 has hardware spi, I was wondering why I am unable to use it.
Daniel Garcia
@focalintent
Because I haven’t written support for the esp32’s hardware SPi yet
Or the esp8266 for that matter
Michael G.
@dragetd
Ohh, I see! Thank you for clearing this up for me. :) And thank you for that awesome library :)
Daniel Garcia
@focalintent
FastLED 3.3 released with support for the Teensy 4.0 — have fun! : )
John Backus
@backus
Tons of FastLED code has this in the setup
delay(3000); // 3 second delay for recovery
Silly question maybe, but recovery for what?
Daniel Garcia
@focalintent
If you have a mistake of some kind in your code where the first thing you do is, for example, turn on all the leds to full white and starve our power, causing the board to shut down then there’s no way to reprogram the board (in many cases) without completely removing it from the leds. That startup delay and wale gives you a window of time to reprogram the board before it starts doing something that it might not be able to recover from.
John Backus
@backus
Oh interesting
Daniel Garcia
@focalintent
(there's other things that might leave a board in a state where it can't be programmed - for example, at least one board I worked on, if interrupts were disabled you weren't able to upload new code to it - so if something happened and got stuck while interrupts were disabled the board would effectively be bricked)
John Backus
@backus
That has definitely helped me before. I'm glad I left it in until I understood. Thanks
stman1
@stman1
Hi, I am new to this chat and the FastLED forum and I thought I first ask here how to properly formulate my question
which is: Can I send data in parallel / simultaneously to 13 strips (all of varying lengths/ numbers of individual LEDs) of APA102 / SK9822 using an ESP which apparently only has 3 SPI pins.
*using an ESP32, each strip receives different data
stman1
@stman1
I've seen some posts on parallel output and obviously the FAQ section on the topic, but the specific combination of ESP32 and APA102 / SK9822 not yet.
I am also flexible wrt. to microcontroller, so I'd be willing to substitute the ESP32 for something else if it is a poor choice for parallel output using multiple APA102s
denisjoshua
@denisjoshua

Hi there
I buy 6 of CJMCU-64-Bit-WS2812-5050-RGB-LED-Driver-Development-Board and I use the FastLED library.

The problem is that the every board work just until some LEDs
Is not work until led 64...

For example now I have a board that work until led 38... and after that
no led is open.

Is this defect or I wrong something please ?
I use NodeMCU 12e and also I put some codes before #include <FastLED.h> ...codes that I see on the FastLed help page:

# define FASTLED_ESP8266_D1_PIN_ORDER

So can anibody help me please ?
thanks a lot
Xenon
@WoosterInitiative
I have a strip of ws2812b's that I can easily drive from my uno, but I can't for the life of me get the nodemcu 1.0 board to run them; at first I thought maybe 3.3v wasn't enough, so I got a logic level converter... still no dice... I can power the uno from the nodemcu and run the leds from there no problem, but as soon as I try to drive the controllers from the nodemcu, nothing happens... it seems like it should be dead simple, but connecting the data pin does nothing... at all... using example code, code I've gotten from github, anywhere... I've even tried the "define"s that denisjoshua above... any help would be appreciated... I'm going crazy
Marc Miller
@marmilicious
Hello @WoosterInitiative You might try posting your question to the Reddit group were I think more people will see it. FastLED.io/r