u-blox modem SMS test
Dependencies: UbloxUSBModem mbed
Diff: main.cpp
- Revision:
- 1:f21c25203532
- Child:
- 2:7ff34ee461a3
diff -r 049595e7e2a4 -r f21c25203532 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Oct 21 14:40:27 2013 +0300 @@ -0,0 +1,24 @@ +#include "UBloxUSBGSMModem.h" +#include "smstest.h" + +void test(const void* data) +{ + UbloxUSBGSMModem modem; + + smstest(modem); + while (true); +} + +int main() +{ + Thread testTask(test, NULL, osPriorityNormal, 1024 * 4); + DigitalOut led(LED1); + + while (true) + { + led = !led; + Thread::wait(1000); + } + return 0; +} +