examen

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
javiervicente
Date:
Tue Dec 22 10:52:46 2020 +0000
Commit message:
bueno;

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
diff -r 000000000000 -r dd79e9efee0d main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Dec 22 10:52:46 2020 +0000
@@ -0,0 +1,21 @@
+#include "mbed.h"
+
+
+AnalogIn adc_temp(ADC_TEMP);
+
+enum estados {estadoUno, estadoDos} estado;
+
+const float         AVG_SLOPE   = 4.3E-03;      
+const float         V30         = 1.43;   
+
+DigitalOut led(LED1);
+DigitalIn  boton(USER_BUTTON);
+
+int main()
+{
+   estado=estadoUno;
+   
+    while(1) {
+      
+    }
+}
diff -r 000000000000 -r dd79e9efee0d mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Dec 22 10:52:46 2020 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400
\ No newline at end of file