資源簡介
arduino GCode_Interpreterdc G代碼解釋器 也可以當做c語言g代碼解釋器參考 不坑爹
代碼片段和文件信息
//?Arduino?G-code?Interpreter
//?v1.0?Carlos?guilarte?y?diego?colonnello...
//?Modificado?para?manejar?tres?ejes?en?un?cnc?chimbo...?jejeje
#include?
//our?command?string
#define?COMMAND_SIZE?128
#include?“WProgram.h“
void?setup();
void?loop();
void?init_process_string();
void?process_string(char?instruction[]?int?size);
double?search_string(char?key?char?instruction[]?int?string_size);
bool?has_command(char?key?char?instruction[]?int?string_size);
void?init_steppers();
void?dda_move(long?micro_delay);
bool?can_step(byte?min_pin?byte?max_pin?long?current?long?target?byte?direction);
void?do_step(byte?pinA?byte?pinB?byte?dir);
bool?read_switch(byte?pin);
long?to_steps(float?steps_per_unit?float?units);
void?set_target(float?x?float?y?float?z);
void?set_position(float?x?float?y?float?z);
void?calculate_deltas();
long?calculate_feedrate_delay(float?feedrate);
long?getMaxSpeed();
void?disable_steppers();
char?palabra[COMMAND_SIZE];
byte?serial_count;
int
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????108586??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件??????18109??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件?????????13??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件??????59003??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件??????38133??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件??????53232??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件??????22420??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件???????3352??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件??????25316??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件??????10464??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件???????9056??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件???????8096??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件???????9464??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件???????6568??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件???????4204??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件???????7068??2009-11-17?21:48??GCode_Interpreterdc\ap
?????文件???????1076??2009-11-15?22:22??GCode_Interpreterdc\GCode_Interpreterdc.pde
?????文件???????7999??2009-11-15?22:22??GCode_Interpreterdc\process_string.pde
?????文件???????6850??2009-11-15?22:48??GCode_Interpreterdc\stepper_control.pde
?????文件???????1368??2009-11-16?01:49??GCode_Interpreterdc\_init.pde
?????目錄??????????0??2009-11-17?21:48??GCode_Interpreterdc\ap
?????目錄??????????0??2009-11-17?21:48??GCode_Interpreterdc
-----------?---------??----------?-----??----
???????????????400377????????????????????22
- 上一篇:RSA數字簽名程序(C++實現)
- 下一篇:C語言ATM機(取款機)源代碼完美版
評論
共有 條評論