Hi guys , I have purchased a bluetooth mate from spark fun and a arudino mega microcontroller. My plan is to interface it together so as to send out a message via bluetooth to a laptop for a start. I have safely connected the two chips physically, but I have no idea how to write such a program. I have searched around the web for the sample source code but I have no luck in finding the appropriate one. Is there anyone wo can help me in this. I am greatly lost, your help will be much appreciated. Thanks !!!
I have purchased a bluetooth mate from spark fun
If that's the one, did you see the link on the page to the tutorial?
Did you see this comment in product description?
These modems work as a serial (RX/TX) pipe, and are a great wireless replacement for serial cables.
That means that you send data by using Serial.begin() and Serial.write(), Serial.print(), and/or Serial.println().
It means that you receive data using Serial.begin(), Serial.available(), and Serial.read().