2 motores configurados + joystick
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: Teste_2Motores_Joystick_copy
Fork of X_NUCLEO_IHM01A1 by
Revision 38:9c6a43d3333e, committed 2018-05-16
- Comitter:
- leogrotti
- Date:
- Wed May 16 15:39:59 2018 +0000
- Parent:
- 37:a3d9b5f641e7
- Commit message:
- Fun??es de salvar at? 3 pontos e ir automaticamente adicionadas assim como ajuste de velocidades e corre??o na contagem de passos
Changed in this revision
Components/L6474/L6474_config.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r a3d9b5f641e7 -r 9c6a43d3333e Components/L6474/L6474_config.h --- a/Components/L6474/L6474_config.h Wed Apr 25 14:26:18 2018 +0000 +++ b/Components/L6474/L6474_config.h Wed May 16 15:39:59 2018 +0000 @@ -72,18 +72,18 @@ /************************ Speed Profile *******************************/ /// Acceleration rate in step/s2 for device 0 (must be greater than 0) -#define L6474_CONF_PARAM_ACC_DEVICE_0 (160) +#define L6474_CONF_PARAM_ACC_DEVICE_0 (50) /// Acceleration rate in step/s2 for device 1 (must be greater than 0) -#define L6474_CONF_PARAM_ACC_DEVICE_1 (160) +#define L6474_CONF_PARAM_ACC_DEVICE_1 (50) /// Acceleration rate in step/s2 for device 2 (must be greater than 0) -#define L6474_CONF_PARAM_ACC_DEVICE_2 (160) +#define L6474_CONF_PARAM_ACC_DEVICE_2 (50) /// Deceleration rate in step/s2 for device 0 (must be greater than 0) -#define L6474_CONF_PARAM_DEC_DEVICE_0 (160) +#define L6474_CONF_PARAM_DEC_DEVICE_0 (50) /// Deceleration rate in step/s2 for device 1 (must be greater than 0) -#define L6474_CONF_PARAM_DEC_DEVICE_1 (160) +#define L6474_CONF_PARAM_DEC_DEVICE_1 (50) /// Deceleration rate in step/s2 for device 2 (must be greater than 0) -#define L6474_CONF_PARAM_DEC_DEVICE_2 (160) +#define L6474_CONF_PARAM_DEC_DEVICE_2 (50) /// Maximum speed in step/s for device 0 (30 step/s < Maximum speed <= 10 000 step/s ) #define L6474_CONF_PARAM_MAX_SPEED_DEVICE_0 (3500) @@ -93,11 +93,11 @@ #define L6474_CONF_PARAM_MAX_SPEED_DEVICE_2 (3500) /// Minimum speed in step/s for device 0 (30 step/s <= Minimum speed < 10 000 step/s) -#define L6474_CONF_PARAM_MIN_SPEED_DEVICE_0 (1300) +#define L6474_CONF_PARAM_MIN_SPEED_DEVICE_0 (1000) /// Minimum speed in step/s for device 1 (30 step/s <= Minimum speed < 10 000 step/s) -#define L6474_CONF_PARAM_MIN_SPEED_DEVICE_1 (1300) +#define L6474_CONF_PARAM_MIN_SPEED_DEVICE_1 (1000) /// Minimum speed in step/s for device 2 (30 step/s <= Minimum speed < 10 000 step/s) -#define L6474_CONF_PARAM_MIN_SPEED_DEVICE_2 (1300) +#define L6474_CONF_PARAM_MIN_SPEED_DEVICE_2 (1000) /************************ Phase Current Control *******************************/