Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE mbed
Diff: src/main.cpp
- Revision:
- 17:4d0e180cde20
- Parent:
- 16:491e2336bb95
--- a/src/main.cpp Tue Oct 20 09:32:35 2015 +0000
+++ b/src/main.cpp Tue Oct 20 12:38:02 2015 +0000
@@ -41,27 +41,9 @@
int main(){
- Serial pc(USBTX, USBRX);
- pc.baud(115200);
- //Open serial
- //vectortest();
- WifiControl wifi;
-
- //wifi.ESPconfig();
-
-
- string real(wifi.pollAP());
- pc.printf("Access points found: \r\n");
- pc.printf("%s", real.c_str());
- APVectorBuilder apBuilder;
- vector<AccessPoint> swag(apBuilder.build(real));
- pc.printf("\r\n\r\n Access Point information ------------- \r\n\r\n");
-
- for (int i = 0; i < swag.size(); i++){
- pc.printf("\r\nList Element: %s, %d", swag[i].getSSID(), swag[i].getStrength());
- }
-
+ Whiffy whiffy;
+ whiffy.update();
