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-19
- Revision:
- 13:ef68cbcb4e9a
- Parent:
- 12:ef988c7fe8a4
- Child:
- 14:8d31d304eeb3
File content as of revision 13:ef68cbcb4e9a:
#include "mbed.h" #include "Whiffy.h" #include "LEDControl.h" #include "TestSuite.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("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(){ //Open serial Serial pc(USBTX, USBRX); pc.baud(115200); WifiControl wifi; char results[1024]; wifi.pollAP(results); pc.printf("Access points found: \r\n"); pc.printf(results); // test(); }