Real-time bike tracker using Adafruit Ultimate GPS, Huzzah wifi, and Pubnub

Dependencies:   MBed_Adafruit-GPS-Library mbed

Revision:
1:0701bf58c9fa
Child:
2:834f8d2ebe3f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PubNub.h	Wed Apr 19 01:00:53 2017 +0000
@@ -0,0 +1,25 @@
+#include "mbed.h"
+#include "Huzzah.h"
+
+#include "string"
+
+
+extern Serial pc;
+
+
+class PubNub
+{
+public:
+    PubNub(string pubkey, string subkey, string channel, PinName tx_pin, PinName rx_pin);
+    void send_message(string message);
+    void send_message(char* message);
+    // for sending serial data to huzzah
+    Huzzah huz;
+ 
+private:
+    string pubkey;
+    string subkey;
+    string channel;
+    string conn_host;
+    string conn_port;
+};
\ No newline at end of file