ShiftPWM support topic. Latest update: Schematics, high power LED's, LED strips

milamber:

elcojacobs:
It would be possible to use ShiftPWM to drive each row. The difference with a matrix and a chain is that in a matrix, you basically alternate in driving multiple chains. The maximum duty cycle for the LED's is 1/rows.
If each time you reset the counter, you also switch rows you can make some modifications to use it for matrices.

How would this be achieved? I don't see a reference to a counter inside the example code? Would it require another interrupt to fire when the counter reached 0? Sorry for the questions just trying to understand. I have a hand made matrix that I would like to try this out on. Thanks.

The counter is in the library code. If you can send me a schematic, I'll have a look how much work it is to change the code for the matrix. It's quite popular so I might add a different version of shiftpwm to work with matrices. I cannot test it, because I don't have a led matrix.