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.
Revision 1:29fc95839893, committed 2020-11-25
- Comitter:
- grupo_17_2020
- Date:
- Wed Nov 25 20:47:57 2020 +0000
- Parent:
- 0:0f497d629677
- Commit message:
- commmit;
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Nov 19 12:07:27 2020 +0000 +++ b/main.cpp Wed Nov 25 20:47:57 2020 +0000 @@ -402,22 +402,27 @@ } void TEMPERATURA(){ - if(TEMPIN >= 0.85f) { + if(TEMPIN >= 0.65f){ + RED = OFF; + GREEN = OFF; + BLUE = ON; + } + if(TEMPIN < 0.65f && TEMPIN >= 0.55f){ RED = OFF; GREEN = ON; BLUE = OFF; } - if(TEMPIN < 0.85f && TEMPIN >= 0.55f){ + if(TEMPIN < 0.55f && TEMPIN >= 0.25f){ RED = OFF; GREEN = ON; BLUE = ON; } - if(TEMPIN < 0.55f && TEMPIN >= 0.28f){ + if(TEMPIN < 0.25f && TEMPIN >= 0.15f){ RED = ON; GREEN = OFF; BLUE = OFF; } - if(TEMPIN < 0.28f){ + if(TEMPIN < 0.15f){ RED = ON; GREEN = OFF; BLUE = ON;