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