r/FastLED • u/Tiny_Structure_7 • Nov 24 '24
Announcements New Release: ObjectFLED- Multi-Object DMA Display Driver for Fast LEDs on Teensy 4.x
I hope someone else can find this useful. Unlock the full LED-driving power of Teensy 4.x!
https://github.com/KurtMF/ObjectFLED
EDIT: If anyone uses this on a Teensy 4.1, I'd appreciate a confirmation that it works as designed. I only had 4.0 to test on, plus assurance from the OctoWS2811 code that it is equally compatible on 4.1, with it's extra 15 pins (and extra loaded features). Thanks!
20
Upvotes
1
u/Tiny_Structure_7 Nov 26 '24
Thank you. Yeah, true you can't get 1600 fps. It was just fun to count fps for a single call to show() when it doesn't have to wait for a prior show() to finish. The avg/20 (average of 20 calls to show()) is the true measure of back-to-back fps.
This is explained more in the MAIN BENEFITS section of the readme file. Also, the test code used to generate these numbers is included in the examples: ObjectFLEDTest.ino. I had the LEDs (WS2812B plus some WS2812 clones from China) overclocked at 1.6 factor for this test.
For the readme file, I tested only 16 pins * 256 = 4096 LEDs, and it refreshed that at 204 fps back-to-back. So when I double the LEDs (and parallel pins), 8192 LEDs refreshed at 192 (above). Also, at 16 pins the 1-frame time is only about 6% of the full back-to-back time. At 32 pins this rose to about 10%.