This commit is contained in:
IMback 2017-09-14 18:10:46 +02:00
commit dd6f37a960
15 changed files with 1841 additions and 0 deletions

20
hpglparser.h Normal file
View file

@ -0,0 +1,20 @@
// hpglparser.h
#ifndef _HPGLPARSER_h
#define _HPGLPARSER_h
#include "WString.h"
#include "point.h"
#include <stdio.h>
String readHpglCmd();
bool tryReadPoint(Point *pt);
bool readSeparator();
String readStringUntil(char ch);
void addToBuffer(char ch);
void setBuffer(String in);
void purgeBuffer();
bool isBufferEmpty();
bool isBufferFull();
#endif