Works with simple/no kinematics
This commit is contained in:
parent
dd6f37a960
commit
471d018bfe
7 changed files with 221 additions and 245 deletions
8
serial.h
8
serial.h
|
|
@ -1,19 +1,21 @@
|
|||
#ifndef SERIAL_H
|
||||
#define SERIAL_H
|
||||
|
||||
#define BAUD 38400
|
||||
#define BUFFER_SIZE 128
|
||||
#define BAUD 19200
|
||||
#define BUFFER_SIZE 1024
|
||||
|
||||
#include <util/setbaud.h>
|
||||
#include <avr/io.h>
|
||||
#include <avr/interrupt.h>
|
||||
#include <string.h>
|
||||
|
||||
const bool serialFlowControl = false;
|
||||
|
||||
class Serial
|
||||
{
|
||||
private:
|
||||
char _terminator = '\n';
|
||||
uint16_t _rxIndex=0;
|
||||
|
||||
|
||||
public:
|
||||
Serial();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue