The example program for RedBearLab nRF51822 relative platforms

Dependencies:   mbed

Dependents:   nRF51822_BMP085

Fork of mbed_blinky by Mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "mbed.h"
00002 
00003 DigitalOut myled(LED1);
00004 
00005 int main()
00006 {
00007     while(1) {
00008         myled = 1;
00009         wait(1);
00010         myled = 0;
00011         wait(1);
00012     }
00013 }