nguyen thuc
/
mbed_blinky
The example program for mbed pin-compatible platforms
Revision 25:3ff5eb892e97, committed 2019-10-25
- Comitter:
- thuctoro
- Date:
- Fri Oct 25 08:08:48 2019 +0000
- Parent:
- 24:7f14b70fc9ef
- Commit message:
- test led
Changed in this revision
diff -r 7f14b70fc9ef -r 3ff5eb892e97 main.cpp --- a/main.cpp Mon Apr 08 11:03:25 2019 +0100 +++ b/main.cpp Fri Oct 25 08:08:48 2019 +0000 @@ -1,12 +1,13 @@ #include "mbed.h" -DigitalOut myled(LED1); +DigitalOut myled(LED3); + int main() { while(1) { myled = 1; - wait(0.2); + wait(0.5); myled = 0; - wait(0.2); + wait(0.5); } }
diff -r 7f14b70fc9ef -r 3ff5eb892e97 mbed-os.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Fri Oct 25 08:08:48 2019 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os/#1bf6b20df9d3cd5f29f001ffc6f0d0fcbbb96118
diff -r 7f14b70fc9ef -r 3ff5eb892e97 mbed.bld --- a/mbed.bld Mon Apr 08 11:03:25 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -https://os.mbed.com/users/mbed_official/code/mbed/builds/3a7713b1edbc \ No newline at end of file