暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

steppers.h 895B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #ifndef _STEPPERS_H_
  2. #define _STEPPERS_H_
  3. void steppers_init(void);
  4. bool steppers_run(void);
  5. bool steppers_homed(void);
  6. char steppers_homing_axis(void);
  7. void steppers_start_homing(void);
  8. float steppers_current_pos(int axis);
  9. // target pos
  10. float steppers_pos_x(void);
  11. float steppers_pos_y(void);
  12. float steppers_pos_z(void);
  13. float steppers_pos_e(void);
  14. int steppers_move_x(float pos);
  15. int steppers_move_y(float pos);
  16. int steppers_move_z(float pos);
  17. int steppers_move_e(float pos);
  18. void steppers_kill(void);
  19. void steppers_set_speed_x(float speed);
  20. void steppers_set_speed_y(float speed);
  21. void steppers_set_speed_z(float speed);
  22. void steppers_set_speed_e(float speed);
  23. void steppers_set_accel_x(float accel);
  24. void steppers_set_accel_y(float accel);
  25. void steppers_set_accel_z(float accel);
  26. void steppers_set_accel_e(float accel);
  27. bool steppers_home_switch(int axis);
  28. #endif // _STEPPERS_H_