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.
Dependencies: mbed
Revision 2:8ec5aa8646bb, committed 2019-09-13
- Comitter:
- ArturoRiosRamos
- Date:
- Fri Sep 13 19:37:01 2019 +0000
- Parent:
- 1:49bacc76f02d
- Commit message:
- Formual General
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Sep 13 15:48:11 2019 +0000 +++ b/main.cpp Fri Sep 13 19:37:01 2019 +0000 @@ -1,6 +1,6 @@ /* ########################################################################### ** Archivo : main.c -** Proyecto : STM32-103C8_Adivina +** Proyecto : STM32-103C8_Formula_Gral ** Procesador : STM32F103C8 ** Herramienta : Mbed ** Version : Driver 01.01 @@ -89,10 +89,16 @@ terminal.printf("Valor de A: "); terminal.scanf("%f",&_a); + rojo = on; + verde = off; terminal.printf("Valor de B: "); terminal.scanf("%f",&_b); + rojo = on; + verde = off; terminal.printf("Valor de C: "); terminal.scanf("%f",&_c); + rojo = on; + verde = off; if(((_b*_b)-(4*_a*_c))>0){