Real-time bike tracker using Adafruit Ultimate GPS, Huzzah wifi, and Pubnub
Dependencies: MBed_Adafruit-GPS-Library mbed
PubNub.h
- Committer:
- ECE4180
- Date:
- 2017-04-20
- Revision:
- 2:834f8d2ebe3f
- Parent:
- 1:0701bf58c9fa
File content as of revision 2:834f8d2ebe3f:
#include "mbed.h" #include "Huzzah.h" #include "string" 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; };