Miguel Angel Caycho
/
Pruebas_Ventilador_Eplimin_01_Backup
para el ventilador
Diff: project_defines.h
- Revision:
- 3:45299e7882b9
- Parent:
- 2:6f618b905d4f
- Child:
- 4:d42e1953243c
--- a/project_defines.h Thu Apr 16 13:22:16 2020 +0000 +++ b/project_defines.h Fri Apr 17 11:22:43 2020 +0000 @@ -102,10 +102,11 @@ #define STEPPER_CALIBRATION_FREQUENCY_HZ 200 #define STEPPER_START_BRAKE_FREQUENCY_HZ 100 - +#define STEPPER_START_BRAKE_PERIOD_US (1000000.0/STEPPER_START_BRAKE_FREQUENCY_HZ) +#define SHORT_RAMP_STEPS 25 // Number of steps used for the speed ramp, can be either 50 or 100 #define RAMP_STEPS 50 -#define STEPPER_START_BRAKE_PERIOD_US (1000000.0/STEPPER_START_BRAKE_FREQUENCY_HZ) + #endif \ No newline at end of file