CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Implementing 32-bit shift register code for '595

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
robleso7473



Joined: 25 Mar 2009
Posts: 70

View user's profile Send private message

Implementing 32-bit shift register code for '595
PostPosted: Wed Oct 22, 2025 10:35 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Oct 22, 2025 12:37 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Oct 22, 2025 2:11 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Oct 22, 2025 2:47 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Oct 22, 2025 11:36 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Oct 23, 2025 1:04 pm     Reply with quote

Can you please elaborate on what you mean by simple shifting supported by compiler? What functions?
Thx.
Oscar
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group