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:150923afdc8a, committed 2018-03-18
- Comitter:
- afm76
- Date:
- Sun Mar 18 22:06:29 2018 +0000
- Parent:
- 0:e75be3142dd1
- Commit message:
- atualizado
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Mar 14 00:17:25 2018 +0000
+++ b/main.cpp Sun Mar 18 22:06:29 2018 +0000
@@ -85,11 +85,11 @@
//Detecta a faixa em que o cursor do pot se encontra:
if (u>0.505){pc.printf(" X FWD ");} //pot > 0.505V (comanda acionamento X proporcional para FRENTE);
else{ if (u<0.495){pc.printf(" X BWD ");} //pot < 0.495V (comanda acionamento X proporcional para TRAS);
- else pc.printf(" X STOP "); //0.495V < pot < 0.505V (comanda acionamento X para permanecer PARADO).
+ else pc.printf(" X STOP"); //0.495V < pot < 0.505V (comanda acionamento X para permanecer PARADO).
};
if (w>0.505){pc.printf(" Y FWD \r");} //pot > 0.505V (comanda acionamento Y proporcional para FRENTE);
else{ if (w<0.491){pc.printf(" Y BWD \r");} //pot < 0.495V (comanda acionamento Y proporcional para TRAS);
- else pc.printf(" Y STOP \r"); //0.495V < pot < 0.505V (comanda acionamento Y para permanecer PARADO).
+ else pc.printf(" Y STOP\r"); //0.495V < pot < 0.505V (comanda acionamento Y para permanecer PARADO).
};
// for (i = 1; i < 1000000; i+=1){}