root / scout_avr / src / Atmega128rfa1.h @ cf115e3d
History | View | Annotate | Download (364 Bytes)
1 |
#ifndef _ATMEGA128RFA1_H_
|
---|---|
2 |
#define _ATMEGA128RFA1_H_
|
3 |
|
4 |
#include "ros/node_handle.h" |
5 |
|
6 |
#define MAX_SUBSCRIBERS 2 |
7 |
#define MAX_PUBLISHERS 2 |
8 |
#define INPUT_SIZE 128 |
9 |
#define OUTPUT_SIZE 128 |
10 |
|
11 |
#define RX_BUFFER_SIZE 256 |
12 |
|
13 |
class Atmega128rfa1 |
14 |
{ |
15 |
public:
|
16 |
Atmega128rfa1(); |
17 |
void init();
|
18 |
int read();
|
19 |
void write(uint8_t* data, int length); |
20 |
unsigned long time(); |
21 |
}; |
22 |
|
23 |
#endif
|