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
src/main.cpp
- Committer:
- kevinrhyne
- Date:
- 2015-10-20
- Revision:
- 14:8d31d304eeb3
- Parent:
- 13:ef68cbcb4e9a
- Child:
- 15:469db0f84fd5
File content as of revision 14:8d31d304eeb3:
#include "mbed.h" #include "Whiffy.h" #include "LEDControl.h" #include "TestSuite.h" #include <string> #include "APVectorBuilder.h" //Test cases for all functions void test(){ Serial pc(USBTX, USBRX); pc.baud(115200); // set what you want here depending on your terminal program speed pc.printf("---TESTING---\r\n"); Whiffy whiffy(); pc.printf("Whiffy obj created\r\n"); 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"); tester.LCDTest(); pc.printf("LCDTest done.\r\n"); tester.LEDTest(); pc.printf("LEDTest done.\r\n"); tester.WifiTest(); pc.printf("WifiTest done.\r\n"); } 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()); // test(); }