1
- #PubNub Arduino Library
1
+ # PubNub Arduino Library
2
2
3
3
This library allows your sketches to communicate with the PubNub cloud
4
4
message passing system using an Ethernet shield or any other network
5
5
hardware (chip/shield) that has a class compatible with Arduino de
6
6
facto standard ` EthernetClient ` . Your application can receive and send
7
7
messages.
8
8
9
- ##Copy-and-Paste-Ready Code!
9
+ ## Copy-and-Paste-Ready Code!
10
10
See how easy it is to [ Publish] ( examples/PubNubPublisher ) and [ Subscribe] ( examples/PubNubSubscriber ) !
11
11
12
- ###Synopsis
12
+ ### Synopsis
13
13
14
14
15
15
void setup() {
@@ -52,7 +52,7 @@ See how easy it is to [Publish](examples/PubNubPublisher) and [Subscribe](exampl
52
52
delay(10000);
53
53
}
54
54
55
- ##Library Reference
55
+ ## Library Reference
56
56
57
57
`` bool PubNub.begin(char *publish_key, char *subscribe_key, char *origin) ``
58
58
@@ -128,7 +128,7 @@ a note about timeouts below.
128
128
This is not an officially supported API, it is there mostly for
129
129
convinience for people that used it
130
130
131
- ##Installation
131
+ ## Installation
132
132
133
133
Since version 1.1.1, Pubnub SDK is part of the Arduino Library
134
134
Manager and you can use it directly from Arduino IDE (v 1.6.8
@@ -153,7 +153,7 @@ This is just a warning, the build and upload process is not impacted in
153
153
any way by this.
154
154
155
155
156
- ##Supported Hardware
156
+ ## Supported Hardware
157
157
158
158
In general, the most widely available Arduino boards and shields are
159
159
supported and tested. Any Arduino board that has networking hardware
@@ -224,7 +224,7 @@ implementation of them, `#define` a macro constant before you include
224
224
#define PUBNUB_DEFINE_STRSPN_AND_STRNCASECMP
225
225
#include <Pubnub.h>
226
226
227
- ##Notes
227
+ ## Notes
228
228
229
229
* If you ` #include <PubNub.h> ` , it will define the global ` PubNub `
230
230
object in your code. Thus, you can't ` #include <Pubnub.h> ` in two or
0 commit comments