![](/media/cache/profiles/ed694cc68f923d122da813f86fa5c91f.jpg.50x50_q85.jpg)
BLE FOTA with mbed external processor.
Diff: main.cpp
- Revision:
- 0:a1f6b1ba8a1e
diff -r 000000000000 -r a1f6b1ba8a1e main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Jun 22 07:19:59 2015 +0000 @@ -0,0 +1,20 @@ +#include "mbed.h" + +Serial hostpc(USBTX,USBRX); +Serial device(p13,p14); + +DigitalOut myled(LED1); + +int main() { + BleMsgHandler MYFOTA(&device,&hostpc); + + MYFOTA.PrintTitle(); + + + while(1) { + myled = 1; + wait(0.5); + myled = 0; + wait(0.5); + } +}