I was thinking about using multiple PWM outputs. This is very much open now, but I would like to control as many objects as possible at every loop. Loop time is 1ms/16-1ms/256 or so. Like I said everything is open. What is possible depends on the speed of CPU but also on the amount of ram. If I have, lets say, 8*64 outputs, that takes 8 latches and 64 bytes, but how much time it would take to control each output. Now it looks like the code is more critical.
Any suggestions or notes are welcome, but note that I prefer to design and program my self.