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
Diff: JOG_EIXO_Z.cpp
- Revision:
- 14:2b72dd426da1
- Parent:
- 13:9ee128577854
- Child:
- 15:a0927f239a4c
--- a/JOG_EIXO_Z.cpp Fri May 14 18:34:18 2021 +0000
+++ b/JOG_EIXO_Z.cpp Fri May 14 19:46:31 2021 +0000
@@ -62,19 +62,16 @@
void rotina_posicao_salva()
{
-
- if(posicao_salva_estado == 0)pegaZ = Z;
+ if(posicao_salva_estado == 0) pegaZ = Z;
else pegaZ = 0;
}
void rotina_emergencia()
{
-
if(botao_emergencia_estado == 0) motor_z = 0x00;
}
void rotida_velocidade_eixo_Z()
{
-
tempo = (Z/65535)*(1/512);
}
\ No newline at end of file