tarea2 DIBM

Dependencies:   libxDot-dev-mbed5-deprecated

Files at this revision

API Documentation at this revision

Comitter:
diegob219
Date:
Wed Sep 01 03:45:04 2021 +0000
Commit message:
se creo un programa con el fin de prender y apagar un led

Changed in this revision

libxDot-dev-mbed5-deprecated.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libxDot-dev-mbed5-deprecated.lib	Wed Sep 01 03:45:04 2021 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/teams/MultiTech/code/libxDot-dev-mbed5-deprecated/#4ca51f965419
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Sep 01 03:45:04 2021 +0000
@@ -0,0 +1,13 @@
+#include<mbed.h>
+DigitalOut led(LED1)
+
+int main (void)
+{
+    while(1)
+    {
+        led=1;
+        wait(0.3);
+        led=0;
+        wait(0.3);
+    }
+}
\ No newline at end of file