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:
- 14:8d31d304eeb3
- Parent:
- 13:ef68cbcb4e9a
- Child:
- 15:469db0f84fd5
--- a/src/main.cpp Mon Oct 19 22:25:18 2015 +0000 +++ b/src/main.cpp Tue Oct 20 09:10:31 2015 +0000 @@ -2,6 +2,8 @@ #include "Whiffy.h" #include "LEDControl.h" #include "TestSuite.h" +#include <string> +#include "APVectorBuilder.h" //Test cases for all functions @@ -18,6 +20,9 @@ TestSuite tester; pc.printf("Tester created\r\n"); + pc.printf("VectorBuilder test"); + tester.vectorTest(); + pc.printf("START ReporterTest()\r\n"); tester.ReporterTest(); pc.printf("END ReporterTest()\r\n"); @@ -33,17 +38,22 @@ } + + int main(){ - - //Open serial Serial pc(USBTX, USBRX); pc.baud(115200); + //Open serial + //vectortest(); WifiControl wifi; - char results[1024]; - wifi.pollAP(results); + + //wifi.ESPconfig(); + + + string real(wifi.pollAP()); pc.printf("Access points found: \r\n"); - pc.printf(results); + pc.printf("%s", real.c_str()); // test();