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 filesystem TextLCD
Fork of Projeto_Mecatronico by
Diff: fim_de_curso.h
- Revision:
- 12:a50758242f66
- Parent:
- 6:bb07d23b4a84
- Child:
- 16:be88f7617529
--- a/fim_de_curso.h Tue May 03 21:32:54 2022 +0000
+++ b/fim_de_curso.h Wed May 04 00:31:37 2022 +0000
@@ -25,32 +25,35 @@
{
if (FDC_x1 == 0)
{
- string estado = "x_menos"
+ string estado = "x_menos" ;
jog_FDC(estado);
+ int movimentar_x = 0;
}
if (FDC_x2 == 0)
{
- string estado = "x_mais"
+ string estado = "x_mais";
jog_FDC(estado);
}
if (FDC_y1 == 0)
{
- string estado = "y_menos"
+ string estado = "y_menos";
jog_FDC(estado);
+ int movimentar_y = 0;
}
if (FDC_y2 == 0)
{
- string estado = "y_mais"
+ string estado = "y_mais";
jog_FDC(estado);
}
if (FDC_z1 == 0)
{
- string estado = "z_menos"
+ string estado = "z_menos";
jog_FDC(estado);
+ int movimentar_z = 0;
}
if (FDC_z2 == 0)
