View Full Version : Doing pwm on X number of 74hc595's.

Clock Loop
11-03-2010, 09:46 AM

I noticed this object in the obex that does up to four shift registers at a time in pwm mode.

I looked into the code and didn't see any relatively straight easy way to scale this up to include X additional shift registers (heck lets start with 28 more to make a total of 32, 74hc595s that can output pwm. A total of 256 pwm outputs,

Can anyone see a way to mod this object to make it scalable to X number of 595s doing pwm?

11-03-2010, 03:56 PM
How about running 8 copies of the object with 8 sets of 4 '595's.

11-03-2010, 04:13 PM
I think he idea is to make the PWM portion of this code as flexible as the non-pwm portion. I think the biggest stumbling block may be timing.