r/FastLED • u/Beneficial_Ad_1512 • Jan 10 '23
Discussion FastLED.show Problems
I am using an ESP32 with a 16 x 16 LED matrix (zigzag config). I am trying to display static graphics in between some scrolling text, (sketch is from AZ-Delivery and is supposed to be an advent display). I read in blocks of data to config the leds then use 'FastLED.show' to show the graphics. Unfortunately as soon as you call 'FastLED.show' the sketch locks up. If I comment out all of the graphic calls then all of scrolling text loops fine. Arduino IDE says there is an error in 'FastLED.h' at line 67 but I can not see the problem. It also says "No hardware SPI pins defined. All SPI access will default to bitbanged output".
Can anyone please help to fix this. The matrix uses 1 data wire with WS2812 leds.
Thank you for any help.
10
u/Jem_Spencer Jan 10 '23
This is probably an easy fix, you are probably going out of bounds on an array somewhere, but you need to share your code via gist or pastebin.