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

Dependencies:   MBed_Adafruit-GPS-Library mbed

Committer:
ECE4180
Date:
Sun Apr 23 15:24:21 2017 +0000
Revision:
6:5bc3eeabdca3
Parent:
2:834f8d2ebe3f
For Notebook Page

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ECE4180 1:0701bf58c9fa 1 #include "mbed.h"
ECE4180 1:0701bf58c9fa 2 #include "Huzzah.h"
ECE4180 1:0701bf58c9fa 3
ECE4180 1:0701bf58c9fa 4 #include "string"
ECE4180 1:0701bf58c9fa 5
ECE4180 1:0701bf58c9fa 6
ECE4180 1:0701bf58c9fa 7 class PubNub
ECE4180 1:0701bf58c9fa 8 {
ECE4180 1:0701bf58c9fa 9 public:
ECE4180 1:0701bf58c9fa 10 PubNub(string pubkey, string subkey, string channel, PinName tx_pin, PinName rx_pin);
ECE4180 1:0701bf58c9fa 11 void send_message(string message);
ECE4180 1:0701bf58c9fa 12 void send_message(char* message);
ECE4180 1:0701bf58c9fa 13 // for sending serial data to huzzah
ECE4180 1:0701bf58c9fa 14 Huzzah huz;
ECE4180 1:0701bf58c9fa 15
ECE4180 1:0701bf58c9fa 16 private:
ECE4180 1:0701bf58c9fa 17 string pubkey;
ECE4180 1:0701bf58c9fa 18 string subkey;
ECE4180 1:0701bf58c9fa 19 string channel;
ECE4180 1:0701bf58c9fa 20 string conn_host;
ECE4180 1:0701bf58c9fa 21 string conn_port;
ECE4180 1:0701bf58c9fa 22 };