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 support@ccsinfo.com

Communication between 2 PICs using BlueTooth?

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



Joined: 17 May 2005
Posts: 213

View user's profile Send private message

Communication between 2 PICs using BlueTooth?
PostPosted: Wed May 03, 2006 2:01 am     Reply with quote

Hi

I would like to have 2 PIC's communicating using BlueTooth.
I have baught 2 BlueTooth units from Sparkfun- the BlueSMiRF, and connected one with a PIC16F873.
I am using printf("D%x", var1) to send data.

However, nothing is being received.
Can someone please tell me:
(a) if I can use printf command for serial communication?
(b) how to find out the factory settings on the BlueSMiRF?
(c) how to reset the BlueSMiRF?

Thank you in advance.
a.
specialk



Joined: 12 Nov 2005
Posts: 27

View user's profile Send private message

Re: Communication between 2 PICs using BlueTooth?
PostPosted: Wed May 03, 2006 2:53 pm     Reply with quote

arrow wrote:

However, nothing is being received.
Can someone please tell me:
(a) if I can use printf command for serial communication?
(b) how to find out the factory settings on the BlueSMiRF?
(c) how to reset the BlueSMiRF?

a. Yes, you can.
b. Check here: http://www.sparkfun.com/cgi-bin/phpbb/viewforum.php?f=13 and read the datasheet.
c. Check here: http://www.sparkfun.com/cgi-bin/phpbb/viewforum.php?f=13 and read the datasheet.

I'd suggest communicating with a desktop machine using a MAX232 first, then port it to bluetooth.
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