Statistics
| Branch: | Revision:

root / toolbox / serial.h @ 6ca98a3f

History | View | Annotate | Download (226 Bytes)

1
#ifndef SERIAL_H
2
#define SERIAL_H
3

    
4
#define BAUD_RATE 9600
5

    
6
#define RX_BUFFER_SIZE 64
7

    
8
void serial_init();
9
int serial_read();
10
void serial_flush();
11
char serial_read_blocking();
12
void serial_write(char* data, int length);
13

    
14
#endif