Go to the source code of this file.
Data Structures | |
struct | _stepper_xy |
struct | _user_xy |
Typedefs | |
typedef int16_t | STEPPER_COORD |
User coordinates used in input, arc calculation etc. | |
typedef double | USER_COORD |
typedef struct _stepper_xy | STEPPER_POINT |
typedef struct _user_xy | USER_POINT |
typedef enum _acceleration_modes | ACCEL_MODE |
Enumerations | |
enum | _acceleration_modes { ACCEL_FIXSLOW = 0, ACCEL_FIXFAST, ACCEL_FIXMEDIUM, ACCEL_ACCEL, ACCEL_DECEL } |
Functions | |
void | step (int8_t xdir, int8_t ydir) |
void | set_acceleration (ACCEL_MODE accel_mode, uint8_t steep) |
void | pen_control (uint8_t down) |
void | plotter_init () |
typedef enum _acceleration_modes ACCEL_MODE |
Acceleration modes. See configs.h for marginal values.
typedef int16_t STEPPER_COORD |
typedef struct _stepper_xy STEPPER_POINT |
typedef double USER_COORD |
typedef struct _user_xy USER_POINT |
enum _acceleration_modes |
void pen_control | ( | uint8_t | down | ) |
void plotter_init | ( | ) |
void set_acceleration | ( | ACCEL_MODE | accel_mode, | |
uint8_t | steep | |||
) |
Set motor acceleration profile.
Since the motors are not equal, speed values depend on the prevalent moving axis.
accel_mode | acceleration mode | |
steep | true if Y axis is the main axis. |
void step | ( | int8_t | xdir, | |
int8_t | ydir | |||
) |