root / scout_avr / src / range.h @ cc9ca04e
History | View | Annotate | Download (255 Bytes)
1 | 1c3c96ce | Tom Mullins | #ifndef _RANGE_H_
|
---|---|---|---|
2 | #define _RANGE_H_
|
||
3 | |||
4 | 230b1b7f | Tom Mullins | #define RANGE_ERR 0xFFFF |
5 | |||
6 | cc9ca04e | Tom Mullins | #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 | 1c3c96ce | Tom Mullins | void range_init();
|
14 | ec9e417d | Tom Mullins | unsigned int range_get(int which); |
15 | 1c3c96ce | Tom Mullins | |
16 | #endif |