root / trunk / code / projects / diagnostic_station / station / test_rangefinders.c @ 1166
History | View | Annotate | Download (460 Bytes)
1 |
#include "test_rangefinders.h" |
---|---|
2 |
#include "global.h" |
3 |
|
4 |
void test_rangefinders (void) |
5 |
{ |
6 |
usb_puts("# Testing rangefinders" NL);
|
7 |
|
8 |
for (int n=0; n<5; ++n) |
9 |
{ |
10 |
usb_puts("# Testing rangefinder ");
|
11 |
usb_puti(n); |
12 |
usb_puts(NL); |
13 |
|
14 |
|
15 |
// rotate to position
|
16 |
//
|
17 |
// for (wall positions up/down)
|
18 |
// {
|
19 |
// set wall position
|
20 |
// send (read)
|
21 |
// receive (data)
|
22 |
// }
|
23 |
} |
24 |
|
25 |
//send data
|
26 |
|
27 |
usb_puts("# Testing rangefinders finished" NL);
|
28 |
} |
29 |
|