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

Revision:
3:7bc8d164dc2f
Parent:
2:31ece44f8322
--- 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. */