Revision cc9ca04e
Fixed pins to work with 128rfa1 instead of 2560
scout_avr/src/range.h | ||
---|---|---|
3 | 3 |
|
4 | 4 |
#define RANGE_ERR 0xFFFF |
5 | 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 |
|
|
6 | 13 |
void range_init(); |
7 | 14 |
unsigned int range_get(int which); |
8 | 15 |
|
Also available in: Unified diff