Skip to content

Commit

Permalink
Improve docs and fix example typos
Browse files Browse the repository at this point in the history
Improve documentation (fix typos, improve explanations...) and fix typos in examples.
  • Loading branch information
sveljko authored and vveljko committed Jan 13, 2019
1 parent 833009f commit 0987150
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -50,7 +50,7 @@ and [Subscribe](examples/PubNubSubscriber)!
PubSubClient *sclient = PubNub.subscribe(subchannel);
if (!sclient) return; // error
String msg;
SubscribeMessageCracker ritz(sclient);
SubscribeCracker ritz(sclient);
while (!ritz.finished()) {
ritz.get(msg);
if (msg.length() > 0) {
Expand Down
4 changes: 2 additions & 2 deletions examples/PubNubDemo/PubNubDemo.ino
Expand Up @@ -102,7 +102,7 @@ void loop()
return;
}
String msg;
SubscribeMessageCracker ritz(sclient);
SubscribeCracker ritz(sclient);
while (!ritz.finished()) {
ritz.get(msg);
if (msg.length() > 0) {
Expand All @@ -120,7 +120,7 @@ void loop()
delay(1000);
return;
}
SubscribeMessageCracker tuc(hisclient);
SubscribeCracker tuc(hisclient);
while (!tuc.finished()) {
tuc.get(msg);
if (msg.length() > 0) {
Expand Down
4 changes: 2 additions & 2 deletions examples/PubNubSubscriber/PubNubSubscriber.ino
Expand Up @@ -83,8 +83,8 @@ void loop()
return;
}

String msg;
SubscribeMessageCracker ritz(client);
String msg;
SubscribeCracker ritz(client);
while (!ritz.finished()) {
ritz.get(msg);
if (msg.length() > 0) {
Expand Down
2 changes: 1 addition & 1 deletion library.properties
@@ -1,5 +1,5 @@
name=Pubnub
version=3.0.0
version=3.0.1
author=Vladimir Veljkovic <vlada@pubnub.com>
maintainer=Vladimir Veljkovic <vlada@pubnub.com>
sentence=Pubnub SDK for Arduino.
Expand Down

0 comments on commit 0987150

Please sign in to comment.