Javier Sanchez Peña
/
proyecto_brazo_robotico
control de un brazo robotico SCORBOT ER-III a traves de bluetooth con un dispositivo android.
Revision 5:ae0bdb3aad14, committed 2017-09-04
- Comitter:
- javierjsp
- Date:
- Mon Sep 04 18:03:19 2017 +0000
- Parent:
- 4:ceef4dee8284
- Commit message:
- version final presentada con la cinta, la sonda y el calefactor incluidos.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r ceef4dee8284 -r ae0bdb3aad14 main.cpp --- a/main.cpp Mon Sep 04 17:57:54 2017 +0000 +++ b/main.cpp Mon Sep 04 18:03:19 2017 +0000 @@ -496,7 +496,7 @@ void calefactor() { - while (map(sonda.read(),0,1,-10,50) > 40) + while (map(sonda.read(),0,1,-10,50) < 40) // mientras la temperatura sea menor que 40º activa el calefactor calef.write(1); calef.write(0); }