35 lines
804 B
C
35 lines
804 B
C
// Tonokip RepRap firmware rewrite based off of Hydra-mmm firmware.
|
|
// Licence: GPL
|
|
#include <WProgram.h>
|
|
|
|
void get_command();
|
|
void process_commands();
|
|
|
|
void manage_inactivity(byte debug);
|
|
|
|
void manage_heater();
|
|
float temp2analog(int celsius);
|
|
float temp2analogBed(int celsius);
|
|
float analog2temp(int raw);
|
|
float analog2tempBed(int raw);
|
|
|
|
void FlushSerialRequestResend();
|
|
void ClearToSend();
|
|
|
|
void get_coordinates();
|
|
void linear_move(unsigned long x_steps_remaining, unsigned long y_steps_remaining, unsigned long z_steps_remaining, unsigned long e_steps_remaining);
|
|
void disable_x();
|
|
void disable_y();
|
|
void disable_z();
|
|
void disable_e();
|
|
void enable_x();
|
|
void enable_y();
|
|
void enable_z();
|
|
void enable_e();
|
|
void do_x_step();
|
|
void do_y_step();
|
|
void do_z_step();
|
|
void do_e_step();
|
|
|
|
void kill(byte debug);
|
|
|