A speedtest

Dependencies:   aconno_SEGGER_RTT CustomService

Committer:
jurica238814
Date:
Thu Sep 15 11:57:29 2016 +0000
Revision:
0:796985b808bc
Child:
1:8fd903e4bcef
BSP file done.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jurica238814 0:796985b808bc 1 /* Copyright (c) 2016 Aconno. All Rights Reserved.
jurica238814 0:796985b808bc 2 *
jurica238814 0:796985b808bc 3 * Licensees are granted free, non-transferable use of the information. NO
jurica238814 0:796985b808bc 4 * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
jurica238814 0:796985b808bc 5 * the file.
jurica238814 0:796985b808bc 6 *
jurica238814 0:796985b808bc 7 * aconno simple example program
jurica238814 0:796985b808bc 8 * blinky LED LD1
jurica238814 0:796985b808bc 9 */
jurica238814 0:796985b808bc 10
jurica238814 0:796985b808bc 11 #include "mbed.h"
jurica238814 0:796985b808bc 12 #include "acd52832_bsp.h"
jurica238814 0:796985b808bc 13
jurica238814 0:796985b808bc 14 #define pause 1 // Pause in seconds
jurica238814 0:796985b808bc 15
jurica238814 0:796985b808bc 16 DigitalOut LD1(PIN_LED);
jurica238814 0:796985b808bc 17
jurica238814 0:796985b808bc 18 int main(){
jurica238814 0:796985b808bc 19 while(1){
jurica238814 0:796985b808bc 20 LD1 = 1;
jurica238814 0:796985b808bc 21 wait(pause);
jurica238814 0:796985b808bc 22 LD1 = 0;
jurica238814 0:796985b808bc 23 wait(pause);
jurica238814 0:796985b808bc 24 }
jurica238814 0:796985b808bc 25 }