Statistics
| Branch: | Revision:

scoutos / scout_avr / src / range.h @ cc9ca04e

History | View | Annotate | Download (255 Bytes)

1
#ifndef _RANGE_H_
2
#define _RANGE_H_
3

    
4
#define RANGE_ERR 0xFFFF
5

    
6
#define PIN_SONAR_PWM PIND
7
#define P_SONAR_PWM1 PD2
8
#define P_SONAR_PWM0 PD3
9

    
10
#define PORT_SONAR_TX PORTG
11
#define P_SONAR_TX PG1
12

    
13
void range_init();
14
unsigned int range_get(int which);
15

    
16
#endif