Read GCODE from a laptop and parse it into usable structures.
Fork of gCodeParser by
gparser.h
- Committer:
- ajb88
- Date:
- 2014-04-14
- Revision:
- 0:fa0891ea897b
- Child:
- 1:7818b02dde4b
File content as of revision 0:fa0891ea897b:
#ifndef PARSER_H #define PARSER_H #include "MODSERIAL.h" #define CMD_BUFFER_SIZE 200 #define CMD_LIST_SIZE 512 // struct to hold a Gcode command typedef struct { int G; float X; float Y; float Z; float F; float I; float J; }G_cmd; void parseGcode(); void parserInit(); G_cmd* fillInCmdList(); void cmd_Received(MODSERIAL_IRQ_INFO *q); #endif