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

int_rda or while
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
bkamen



Joined: 07 Jan 2004
Posts: 1619
Location: Central Illinois, USA

View user's profile Send private message

Re: rda
PostPosted: Thu Sep 09, 2010 10:01 am     Reply with quote

nina wrote:
tks again for give direction on this.

I am searching about the following code
Code:

#use rs232(baud=9600, xmit=PIN_B2, rcv=PIN_B1, stream = com_pc)
#use rs232(baud=9600, xmit=PIN_B5, rcv=PIN_B4, stream = com_pic)

to understand that, what do I need study?

Can I use the piece of code just with pics that has 2 uarts?


What you need to study is the difference between hardware UARTs and UARTs that are 'created' in software.

You also should do a compile of your test program and then look at the .LST file to see the difference in the code.

I don't think you are understanding the difference between having hardware complete a task for you vs. writing software to accomplish the same task.



-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Thu Sep 09, 2010 10:16 am     Reply with quote

Quote:

to understand that, what do I need study?

Take a look at:
http://www.ccsinfo.com/forum/viewtopic.php?t=25564&highlight=stream
http://www.ccsinfo.com/forum/viewtopic.php?t=26808&highlight=stream

There are many books that will help to understand how can you engage the real hardware with embedded 'C':
http://www.ccsinfo.com/content.php?page=books

Regards
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