Dependencies:   mbed

https://os.mbed.com/media/uploads/jlemap/img_20200207_191038.jpg https://os.mbed.com/media/uploads/jlemap/img_20200207_191041.jpg El led azul me simula temperatura baja el led verde media baja el led amarillo media alta y el led rojo temperatura alta

Files at this revision

API Documentation at this revision

Comitter:
jlemap
Date:
Sat Feb 01 20:01:31 2020 +0000
Commit message:
CONTROL DE TEMPERATURA

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Feb 01 20:01:31 2020 +0000
@@ -0,0 +1,12 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+
+int main() {
+    while(1) {
+        myled = 1;
+        wait(0.2);
+        myled = 0;
+        wait(0.2);
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Feb 01 20:01:31 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file