4180 Final Project
Dependencies: 4DGL-uLCD-SE mbed Servo
wifi.h@27:2bd737c0a8af, 2016-05-01 (annotated)
- Committer:
- ecarrick
- Date:
- Sun May 01 19:54:20 2016 +0000
- Revision:
- 27:2bd737c0a8af
- Parent:
- 25:2e95a5731412
some small fixes and adding comments
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ecarrick | 6:50a82641d07b | 1 | #ifndef WIFI_H |
ecarrick | 6:50a82641d07b | 2 | #define WIFI_H |
ecarrick | 6:50a82641d07b | 3 | |
ecarrick | 6:50a82641d07b | 4 | #include "mbed.h" |
ecarrick | 25:2e95a5731412 | 5 | #include <string> |
ecarrick | 25:2e95a5731412 | 6 | #include <vector> |
ecarrick | 6:50a82641d07b | 7 | |
ecarrick | 27:2bd737c0a8af | 8 | void setup_wifi(); // must be called first, it resets the WiFi module and connects |
ecarrick | 27:2bd737c0a8af | 9 | void setup_ntp(); // must be called before update_ntp(), sends the functions to the module |
ecarrick | 27:2bd737c0a8af | 10 | void update_ntp(); // makes a connection via NTP to update the time clock, then updates the clock |
ecarrick | 27:2bd737c0a8af | 11 | void setup_http(); // must be called |
ecarrick | 25:2e95a5731412 | 12 | void update_log(vector<string>& log); |
ecarrick | 27:2bd737c0a8af | 13 | |
ecarrick | 6:50a82641d07b | 14 | #endif |