Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 0:dd79e9efee0d
- Child:
- 1:5eb86cc15d60
--- /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) { + + } +}