forked from prusa3d/MM-control-01
-
Notifications
You must be signed in to change notification settings - Fork 1
/
motion.h
38 lines (25 loc) · 774 Bytes
/
motion.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// motion.h
#ifndef _MOTION_h
#define _MOTION_h
#include "config.h"
#include <inttypes.h>
extern void home();
extern bool home_idler();
extern bool home_selector();
extern int8_t filament_type[EXTRUDERS];
void park_idler(bool _unpark);
void load_filament_withSensor();
void load_filament_inPrinter();
void unload_filament_withSensor();
void set_positions(int _current_extruder, int _next_extruder);
void init_Pulley();
void do_pulley_step();
void set_idler_dir_down();
void set_idler_dir_up();
void set_pulley_dir_pull();
void set_pulley_dir_push();
void move(int _idler, int _selector, int _pulley);
void move_proportional(int _idler, int _selector);
void eject_filament(int extruder);
void recover_after_eject();
#endif