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

communicate two board over RS232

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



Joined: 30 Nov 2007
Posts: 10

View user's profile Send private message

communicate two board over RS232
PostPosted: Sat Jan 05, 2008 6:49 am     Reply with quote

I have 2 boards :
- CCS software prototyping board and
- PICDEM 2 Plus Demo board

both with PIC16F877A mcu and 10MHz clock oscillator

I want to send chars between these 2 boards over RS232 port.

has anyone done this before or has an idea how it could be done ?

Thanks
Markdem



Joined: 24 Jun 2005
Posts: 206

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

PostPosted: Sun Jan 06, 2008 3:33 am     Reply with quote

At the most simple level, this is the same as sending data to a PC. Just use PUTC and GETC on both PICs.

Also, have a look at EX_PBUSM.C. That is a example on how to do one wire serial communications.

Have Fun

Mark
red_one



Joined: 30 Nov 2007
Posts: 10

View user's profile Send private message

PostPosted: Sun Jan 06, 2008 4:08 am     Reply with quote

Markdem wrote:
At the most simple level, this is the same as sending data to a PC. Just use PUTC and GETC on both PICs.

Also, have a look at EX_PBUSM.C. That is a example on how to do one wire serial communications.

Have Fun

Mark

Gonna try this.
THanks
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