The example program for mbed pin-compatible platforms

Files at this revision

API Documentation at this revision

Comitter:
thuctoro
Date:
Fri Oct 25 08:08:48 2019 +0000
Parent:
24:7f14b70fc9ef
Commit message:
test led

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
--- 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);
     }
 }
--- /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
--- 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