| View previous topic :: View next topic |
| Author |
Message |
robleso7473
Joined: 25 Mar 2009 Posts: 70
|
| Implementing 32-bit shift register code for '595 |
Posted: Wed Oct 22, 2025 10:35 am |
|
|
Hi All,
I am looking to implement a 32-bit '595 shift register (Four in series) driver. I simply want to feed in 8 hex nibbles representing the 32 bits and bit-bang them out to these four registers. I searched the forum but didn't see anyone specifically working on such a driver/project. I'm also not trying to re-invent the wheel as it were, so if someone's done this before it would save me time I rather spend troubleshooting the hardware. If you have some quick C code for such a driver you've used on PICs, I'd be eternally grateful.
p.s. I'm using the new 16F17576 - I love this little MCU!
Cheers,
Oscar |
|
 |
robleso7473
Joined: 25 Mar 2009 Posts: 70
|
|
Posted: Wed Oct 22, 2025 12:37 pm |
|
|
Hi All,
I found the 595 driver in the PICC/Driver/ folder. Sorry to waste your time.
Oscar |
|
 |
temtronic
Joined: 01 Jul 2010 Posts: 9589 Location: Greensville,Ontario
|
|
Posted: Wed Oct 22, 2025 2:11 pm |
|
|
not a waste... actually you're he 1st post in a week.
thought my computer had froze up !! |
|
 |
robleso7473
Joined: 25 Mar 2009 Posts: 70
|
|
Posted: Wed Oct 22, 2025 2:47 pm |
|
|
Yikes, slow week huh?
I'm sure I'll get stuck again on this project so I'll pay you a visit later on :D |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 19967
|
|
Posted: Wed Oct 22, 2025 11:36 pm |
|
|
Worth also saying, that simple shifting is supported directly by the
compiler.
I've been quiet, since moving house. Currently living out of cardboard
boxes.
New posts seem to have gone rare, recently. |
|
 |
robleso7473
Joined: 25 Mar 2009 Posts: 70
|
|
Posted: Thu Oct 23, 2025 1:04 pm |
|
|
Can you please elaborate on what you mean by simple shifting supported by compiler? What functions?
Thx.
Oscar |
|
 |
|