Hello World example for the VBLUno51 board to blink status Led.

Dependencies:   mbed

main.cpp

Committer:
vbluno_support
Date:
2017-11-01
Revision:
2:97240af8a671
Parent:
1:c2b455e4df31

File content as of revision 2:97240af8a671:

#include "mbed.h"
 
DigitalOut led(LED);    /*LED is pin name for user led on the VNG VBLUNO51 platform*/
 
int main(void) {        
    
    //No condition loop
    while(1) {
        led = 1;
        wait(0.2);
        led = 0;
        wait(0.2);                
    }
}