Thanks to Russel for this awesome battery, and of course Elco Jacobs for writing ShiftMatrixPWM.
(thank you!)