root / trunk / code / projects / test / main.c @ 1465
History | View | Annotate | Download (512 Bytes)
1 |
#include <dragonfly_lib.h> |
---|---|
2 |
|
3 |
#define RUN_TEST(f) extern int f(void); f(); |
4 |
|
5 |
int main(void) { |
6 |
//RUN_TEST(testinits);
|
7 |
|
8 |
dragonfly_init(ALL_ON); |
9 |
|
10 |
while (1) { |
11 |
//RUN_TEST(testusb);
|
12 |
// RUN_TEST(testanalog);
|
13 |
//RUN_TEST(testeeprom);
|
14 |
// RUN_TEST(testencoders);
|
15 |
// RUN_TEST(testlcd);
|
16 |
//RUN_TEST(testlights);
|
17 |
//RUN_TEST(testmotors);
|
18 |
RUN_TEST(testrangefinder); |
19 |
// RUN_TEST(testtokenring);
|
20 |
// RUN_TEST(testwireless);
|
21 |
//RUN_TEST(testxbee);
|
22 |
delay_ms(1000);
|
23 |
} |
24 |
|
25 |
return 0; |
26 |
} |