Revision fd73d758 scout_avr/src/range.h

View differences:

scout_avr/src/range.h
10 10
#define PORT_SONAR_TX PORTG
11 11
#define P_SONAR_TX PG1
12 12

  
13
// initializes timer 5, also used by bom
13 14
void range_init();
14
unsigned int range_get(int which);
15

  
16
// blocks during measurement (up to 37.5ms for each)
17
// writes values into array of 2 unsigned ints
18
void range_measure(unsigned int *values);
15 19

  
16 20
#endif

Also available in: Unified diff