![](/media/cache/profiles/profileJosh.jpg.50x50_q85.jpg)
A speedtest
Dependencies: aconno_SEGGER_RTT CustomService
Diff: main.cpp
- Revision:
- 0:796985b808bc
- Child:
- 1:8fd903e4bcef
diff -r 000000000000 -r 796985b808bc main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Sep 15 11:57:29 2016 +0000 @@ -0,0 +1,25 @@ +/* Copyright (c) 2016 Aconno. All Rights Reserved. + * + * Licensees are granted free, non-transferable use of the information. NO + * WARRANTY of ANY KIND is provided. This heading must NOT be removed from + * the file. + * + * aconno simple example program + * blinky LED LD1 + */ + +#include "mbed.h" +#include "acd52832_bsp.h" + +#define pause 1 // Pause in seconds + +DigitalOut LD1(PIN_LED); + +int main(){ + while(1){ + LD1 = 1; + wait(pause); + LD1 = 0; + wait(pause); + } +} \ No newline at end of file