implemented fixture mapping (without mapping_table)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "stm32g0b1xx.h"
|
||||
#include <stdint.h>
|
||||
|
||||
typedef struct {
|
||||
GPIO_TypeDef* en_port;
|
||||
@@ -11,13 +12,15 @@ typedef struct {
|
||||
uint8_t home_pin;
|
||||
uint8_t homed:1;
|
||||
uint8_t trigger_step:1;
|
||||
int32_t home_position;
|
||||
int32_t pos;
|
||||
int32_t endless_rot_integrator;
|
||||
int32_t speed;
|
||||
int32_t ramp_to_speed;
|
||||
uint32_t next_step;
|
||||
} stepper_T;
|
||||
|
||||
#define STEPPER_MAX_SPEED 600
|
||||
#define STEPPER_MAX_SPEED 400
|
||||
|
||||
#define STEPPER_STEPS_PER_ROTATION 3200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user