Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aron-bordin committed Apr 9, 2015
1 parent c0dcf59 commit 14bdd66
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/bluetooth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Simple Example
--------------

Include the library

.. code-block:: c
#include <SoftwareSerial.h>
Expand All @@ -32,11 +33,13 @@ Create a new Bluetooth object
Bluetooth *blue = new Bluetooth(5, 6);
Add the following method in **void setup()**

.. code-block:: c
blue->setupBluetooth();
Now you can use any method on **void loop()**

.. code-block:: c
String msg = blue->read(); // read and receive a message
Expand Down

0 comments on commit 14bdd66

Please sign in to comment.