root / trunk / code / projects / test / main.c @ 1365
History | View | Annotate | Download (404 Bytes)
1 |
#include <dragonfly_lib.h> |
---|---|
2 |
|
3 |
#define RUN_TEST(f) extern int f(void); f(); |
4 |
|
5 |
int main(void) { |
6 |
|
7 |
dragonfly_init(ALL_ON); |
8 |
|
9 |
while(1) { |
10 |
|
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(testrangefinders); |
19 |
RUN_TEST(testtokenring); |
20 |
|
21 |
} |
22 |
|
23 |
return 0; |
24 |
} |