MiCO MXCHIP
/
MXCHIP_WIFI_Demo
It's MXCHIP WIFI demo.
Diff: main.cpp
- Revision:
- 0:cd7c54f07d25
diff -r 000000000000 -r cd7c54f07d25 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Mar 21 03:56:12 2017 +0000 @@ -0,0 +1,22 @@ +#include "mbed.h" +#include "MXCHIP_WIFI_Interface.h" + + +DigitalOut led1(LED1); + +Serial pc(SERIAL_TX, SERIAL_RX); + + +// main() runs in its own thread in the OS +int main() +{ + + while (true) + { + led1 = !led1; + wait(0.5); + + + } +} +