el programa permite ingresar la posición en el eje X,Y,Z, haciendo que el Servo MG90S con sus movimientos de 180° trabaje en mm de 0 a 50.
Dependents: PICCOLO_CNC PICCOLO_CNC1
Diff: Servo_X.h
- Revision:
- 10:62a8fabbdf97
- Parent:
- 8:19fc8a39d4ab
- Child:
- 11:5bc741e99c53
--- a/Servo_X.h Tue Apr 10 14:07:25 2018 +0000 +++ b/Servo_X.h Tue Apr 24 04:50:35 2018 +0000 @@ -9,16 +9,8 @@ #define MAXPOS 50// poscisión max de la coordenasda en mm #define DRAW 50 #define NODRAW 0 -#define CM_EJECUTAR 0Xff -#define CM_GUARDAR 0Xfe -#define CM_SERVO 0Xfd -#define CM_SDRAW 0xfc -#define CM_SN0DRAW 0xfb -#define CM_END 0xfa -#define CM_STOP 0xf0 -#define CM_STEPMOTOR 0xf9 -#define NUME_PASOS 45629 -#define RADIO_R 50 + +