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