Read GCODE from a laptop and parse it into usable structures.
Fork of gCodeParser by
gparser.h
- Committer:
- jford38
- Date:
- 2014-04-30
- Revision:
- 2:6e824fbbe94e
- Parent:
- 1:7818b02dde4b
File content as of revision 2:6e824fbbe94e:
#ifndef PARSER_H #define PARSER_H #include "MODSERIAL.h" #define CMD_BUFFER_SIZE 200 #define CMD_LIST_SIZE 1024 // 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(); int fillInCmdList(); void cmd_Received(MODSERIAL_IRQ_INFO *q); #endif