Shop OBEX P1 Docs P2 Docs Learn Events
Doing pwm on X number of 74hc595's. — Parallax Forums

Doing pwm on X number of 74hc595's.

Clock LoopClock Loop Posts: 2,069
edited 2010-11-03 09:13 in Propeller 1
http://obex.parallax.com/objects/437/

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?

Comments

  • kwinnkwinn Posts: 8,697
    edited 2010-11-03 08:56
    How about running 8 copies of the object with 8 sets of 4 '595's.
  • DynamoBenDynamoBen Posts: 366
    edited 2010-11-03 09:13
    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.
Sign In or Register to comment.