Project

General

Profile

Statistics
| Branch: | Revision:

root / scout_avr / src / Atmega128rfa1.h @ 20f94878

History | View | Annotate | Download (367 Bytes)

1
#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
#define RX_BUFFER_SIZE 1024
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