When I get insomnia, I get silly and punchy.

When I get insomnia, I get silly and punchy. But hey, SmartMatrix wrapped in a CLEDController. So now you can do things like:

setup() { FastLED.addLeds(leds, NUM_LEDS); }

Also, while all the smart matrix stuff is wrapped up in the controller, there is a pointer to the matrix object exposed, so you can do things like:

loop() {
fill_noise(…);
pSmartMatrix->drawLine(0,0,32,32,CRGB(CHSV(hue++,255,255)));
LEDS.show();
}

Or even show off scrolling text.

Anyway - there’s a bunch of code cleanup that I need to do, as well as making some final decisions about what level of changes I want to push back to the SmartMatrix library to make this support smoother/easier.

For now, though, i’m going to try sleeping. Hopefully, the video will be ready by the time I wake back up …

DEMOSCENE FTW!

Your ‘silly and punchy’ is fkn ridiculous! :slight_smile: And cool.

When you say “SmartMatrix” you mean https://github.com/adafruit/Adafruit-GFX-Library ? If so, awesome! (Well, awesome in either case :slight_smile:

No - mean these guys - http://docs.pixelmatix.com/SmartMatrix/

Oh, ok. Cool.

I love it. I’ve been playing with Jason Coon’s modified SmartMatrix library, and this is just the icing on the cake.

Oh, this isn’t the half of it.

For example, what isn’t being shown here is i’ve improved the performance of the SmartMatrix library so that it goes from using 40% of the CPU at a 120Hz refresh rate down to 23% of the CPU.

And I have’t even started looking at the scrolling text performance, yet.

So you can drive one of these https://learn.adafruit.com/adafruit-diy-led-video-wall ???
Or the cube?

with just a teensy 3.1?

Driving 6 32x32 panels is a bit much. There is a fork of the code that can support 4 at once but with lower refresh rate than driving just one. With Daniel’s optimizations the refresh rate should improve a lot, but it will always take more CPU to update more than one panel.

Willl this library will only work on a Teensy?

Yes, the library is specifically made to work with the DMA engine on the Teensy 3.1

:frowning: That’s why I can’t get it to work