I'm using teensy 3.2 to drive 4500 WS2811 leds. For $reasons, they're connected to only 3 of the outputs, so ledsPerStrip is 1500.
Yes, I realise this isn't the most efficient way to do it, but for the moment it has enough performance (or at least, it did when there were only 1200).
If I change the leds to a number above 1365, the code doesn't run (or rather, it runs once and then crashes / halts).
I'm using single-buffered mode (drawingMemory set to null) so it's not running out of ram, but perhaps there's a limit on how much DMAMEM is available ? It's notable that 6 * 4 * 1365 (the size of displayMem) is 0x7ff8.
Yes, I realise this isn't the most efficient way to do it, but for the moment it has enough performance (or at least, it did when there were only 1200).
If I change the leds to a number above 1365, the code doesn't run (or rather, it runs once and then crashes / halts).
I'm using single-buffered mode (drawingMemory set to null) so it's not running out of ram, but perhaps there's a limit on how much DMAMEM is available ? It's notable that 6 * 4 * 1365 (the size of displayMem) is 0x7ff8.