Motion Control Updates
This commit is contained in:
parent
471d018bfe
commit
cc1bdaa82f
5 changed files with 132 additions and 41 deletions
6
serial.h
6
serial.h
|
|
@ -8,6 +8,7 @@
|
|||
#include <avr/io.h>
|
||||
#include <avr/interrupt.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
const bool serialFlowControl = false;
|
||||
|
||||
|
|
@ -20,8 +21,9 @@ private:
|
|||
public:
|
||||
Serial();
|
||||
void putChar(const char c);
|
||||
void putString(const char* in, const unsigned int length);
|
||||
void putString(const char in[]);
|
||||
void write(const char* in, const unsigned int length);
|
||||
void write(const char in[]);
|
||||
void write(const int32_t in);
|
||||
bool dataIsWaiting();
|
||||
char getChar();
|
||||
unsigned int getString(char* buffer, const int bufferLength);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue