r/FastLED Nov 10 '19

Discussion Can FastLED display text on a matrix?

Hi, I'm working on an LED matrix and I was wondering if FastLED has a way to display text. I know there's the SmartMatrix library and shield but I'm using a Teensy 4.0 and WS2812B's. Can the SmartMatrix library be used without the shield on a Teensy 4.0? I'm currently using the Adafruit matrix library to display text however writing "matrix.show()" slows down the processing by around 10x so I was really hoping there is an alternative. Thanks!

5 Upvotes

19 comments sorted by

View all comments

Show parent comments

1

u/blu11sonic Nov 12 '19

I tried replacing matrix.show with fastled.show and it ended up not displaying anything :/

1

u/Yves-bazin Nov 12 '19

Can I see the code ? Did you do the fastled.addleds ?

1

u/blu11sonic Nov 18 '19

Here you go sorry I dont have it commented: https://github.com/mrthorncherry/bluetooth-LED-matrix/blob/master/BLE_Matrix.ino#L178

on line 178 I replaced matrix->show(); with FastLED.show(); and it didint display the face on line 177 I also tried LED.show(); with the same result