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

matrix ????
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
atoo



Joined: 31 Jan 2014
Posts: 32

View user's profile Send private message Send e-mail

a question ?
PostPosted: Mon Feb 17, 2014 11:20 pm     Reply with quote

Which is more Difficult shiftregister series or parallel?
what is the best?

for working with arrays
in microcontroladores ?
Mike Walne



Joined: 19 Feb 2004
Posts: 1785
Location: Boston Spa UK

View user's profile Send private message

PostPosted: Tue Feb 18, 2014 9:05 am     Reply with quote

Neither they do two different jobs.

I your case, you've got a small PIC, driving a lot of output pins.
So, you need a small No. of inputs (serial) and a larger No. of outputs (parallel), hence a serial to parallel shift register.
For a large No. of input switches you work the other way round.
You chooes the one for the job in hand.

Mike
temtronic



Joined: 01 Jul 2010
Posts: 9245
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Tue Feb 18, 2014 10:22 am     Reply with quote

remmeber though...
getting data in/out in parallel will always be faster than serial
...so what method(serial or parallel) you use, remember to factor in speed(access to data) in your decision.
Also consider board layout(hardware),cost of extra devices,etc.
Often you can buy a bigger PIC for just a few cents more and more I/O pins is always better !


hth
jay
atoo



Joined: 31 Jan 2014
Posts: 32

View user's profile Send private message Send e-mail

questão ?
PostPosted: Wed Feb 19, 2014 5:49 pm     Reply with quote

then I'll practice parallel,

another question!

Which is correct?
this?
# Include <18f2550.h>
# Include <sanUSB.h>

or this?

# Include <sanUSB.h>

then the microcontroller can operate without the computer

this is the doubt !
about libraries

Charles francês joaõ pessoa PB
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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