![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Just a simple example of blinking led
Dependencies: mbed
Simple example of blinking led used as a starter to valid all the toolchain in Icarus Sensor System.
main.cpp
- Committer:
- smigielski
- Date:
- 2014-11-19
- Revision:
- 2:c76222c6370a
- Parent:
- 0:b729782a3ad7
- Child:
- 3:65d6deb7d07b
File content as of revision 2:c76222c6370a:
#include "mbed.h" DigitalOut led(LED1); //P0_18 in NRF51822_MKIT int main() { while(1) { led = 1; // LED is ON wait(0.05); // 50 ms led = 0; // LED is OFF wait(0.05); // 50 ms } }