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

1 master to 2 slave pics communication

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



Joined: 12 Feb 2004
Posts: 2

View user's profile Send private message

1 master to 2 slave pics communication
PostPosted: Thu Feb 12, 2004 2:55 pm     Reply with quote

Hi, I am doing the project that I need one pic to do the wireless protocol because the pic need to check the incoming serial code all the time then transmit the information to the two slave pics according to the information is belong to which pic. So I need the addressable communication, I think the I2C is the only one, right(I am not sure)? But I saw lots of examples of pic to I2C device not pic to pic by I2C, any one have any example of multi pic communication?
Thank you.
Neutone



Joined: 08 Sep 2003
Posts: 839
Location: Houston

View user's profile Send private message

PostPosted: Thu Feb 12, 2004 4:36 pm     Reply with quote

If what you discribe is entirely wireless you should use the USART to send and recieve with a master slave protocol like modbus.
ted616



Joined: 12 Feb 2004
Posts: 2

View user's profile Send private message

Thank you for your reply.
PostPosted: Thu Feb 12, 2004 6:54 pm     Reply with quote

Yes, I use one pic to decode the message from the wireless then send the corresponding message to each salve pic, so the slave pic get it's own message. I am doing this I just use one pic to process the decoding, so other two slave pics can do their own jobs.
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