root / trunk / code / projects / unit_tests / main.c @ 1827
History | View | Annotate | Download (531 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 |
RUN_TEST(testir); |
23 |
delay_ms(1000);
|
24 |
} |
25 |
|
26 |
return 0; |
27 |
} |