![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
BLE fota Lamp Demo
Dependencies: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_fan_control by
main.cpp
- Committer:
- dudnwjs
- Date:
- 2015-06-22
- Revision:
- 1:5cf3a6c969be
- Parent:
- 0:a1f6b1ba8a1e
- Child:
- 3:1e70387e1337
File content as of revision 1:5cf3a6c969be:
#include "mbed.h" #include "BleMsgHandler.h" Serial hostpc(USBTX,USBRX); Serial device(p13,p14); DigitalOut myled(LED1); using namespace sevencore_fota; int main() { BleMsgHandler myfota(&device,&hostpc); myfota.PrintTitle(); while(1) { myled = 1; wait(0.5); myled = 0; wait(0.5); } }