Hello World example for the VBLUno51 board to blink status Led.
Dependencies: mbed
main.cpp
- Committer:
- vbluno_support
- Date:
- 2017-10-13
- Revision:
- 0:77d2a9f55452
- Child:
- 1:c2b455e4df31
File content as of revision 0:77d2a9f55452:
#include "mbed.h" /*For the VBLUno51 board*/ #define PIN_LED p7 DigitalOut led(PIN_LED); int main(void) { //No condition loop while(1) { led = 1; wait(0.2); led = 0; wait(0.2); } }