s i
/
BLE_Blink
test blink
Diff: main.cpp
- Revision:
- 0:64cca7a07068
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Jan 13 14:24:22 2019 +0000 @@ -0,0 +1,10 @@ +#include "mbed.h" +DigitalOut LED_1(LED1); +int main() { + while(1) { + LED_1 = 0; // LED is ON + wait(0.9); // 200 ms + LED_1 = 1; // LED is OFF + wait(1.0); // 1 sec + } +} \ No newline at end of file