Set up for the LPC4088 and only for whatever is available on-board. As is publishes a fixed message to PubNub.

Dependencies:   EthernetInterface PubNub PubNubDemo mbed-rtos mbed picojson

Fork of PubNubDemo by PubNub

Files at this revision

API Documentation at this revision

Comitter:
marin8703
Date:
Wed Dec 17 19:35:39 2014 +0000
Parent:
2:31ece44f8322
Commit message:
Set up for the LPC4088 and uses only what is available on-board, no LCD, no accel., no temperature.

Changed in this revision

C12832_lcd.lib Show diff for this revision Revisions of this file
LM75B.lib Show diff for this revision Revisions of this file
MMA7660.lib Show diff for this revision Revisions of this file
PubNubDemo.cpp Show annotated file Show diff for this revision Revisions of this file
PubNubDemo_LPC4088.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 31ece44f8322 -r 7bc8d164dc2f C12832_lcd.lib
--- a/C12832_lcd.lib	Wed Dec 17 19:28:09 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/dreschpe/code/C12832_lcd/#8f86576007d6
diff -r 31ece44f8322 -r 7bc8d164dc2f LM75B.lib
--- a/LM75B.lib	Wed Dec 17 19:28:09 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/chris/code/LM75B/#6a70c9303bbe
diff -r 31ece44f8322 -r 7bc8d164dc2f MMA7660.lib
--- a/MMA7660.lib	Wed Dec 17 19:28:09 2014 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/Sissors/code/MMA7660/#a8e20db7901e
diff -r 31ece44f8322 -r 7bc8d164dc2f PubNubDemo.cpp
--- a/PubNubDemo.cpp	Wed Dec 17 19:28:09 2014 +0000
+++ b/PubNubDemo.cpp	Wed Dec 17 19:35:39 2014 +0000
@@ -2,9 +2,6 @@
 
 #include "mbed.h"
 #include "EthernetInterface.h"
-//#include "C12832_lcd.h"
-//#include "MMA7660.h"
-//#include "LM75B.h"
 
 #include "picojson.h"
 #include "PubNub.h"
@@ -15,8 +12,8 @@
 /* How to get things set up: */
 /* 1. Tune in at the PubNub Developer Console, with the following
  * keys (press Subscribe afterwards): */
-const char pubkey[] = "pub-c-b7ad94eb-6111-466b-94c4-858cfce6757f";
-const char subkey[] = "sub-c-31ba2fd6-80b6-11e4-b601-02ee2ddab7fe";
+const char pubkey[] = "demo";
+const char subkey[] = "demo";
 const char channel[] = "lpc4088";
 /* 2. Attach your mbed board to your computer. A folder should pop up like
  * if you plug in a USB memory stick. */
diff -r 31ece44f8322 -r 7bc8d164dc2f PubNubDemo_LPC4088.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PubNubDemo_LPC4088.lib	Wed Dec 17 19:35:39 2014 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/teams/PubNub/code/PubNubDemo/#31ece44f8322