command interpreter and epprom

This commit is contained in:
IMback
2017-05-19 09:48:19 +02:00
parent cb779f21d4
commit ecd7ad677b
9 changed files with 282 additions and 58 deletions

View File

@ -2,7 +2,7 @@
#define SERIAL_H
#define BAUD 38400
#define BUFFER_SIZE 64
#define BUFFER_SIZE 128
#include <util/setbaud.h>
#include <avr/io.h>
@ -22,7 +22,7 @@ public:
void putString(const char in[]);
bool dataIsWaiting();
char getChar();
int getString(char* buffer, const int bufferLength);
unsigned int getString(char* buffer, const int bufferLength);
void flush();
void setTerminator(const char terminator);
};