Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / test / main.c @ 1437

History | View | Annotate | Download (491 Bytes)

1
#include <dragonfly_lib.h>
2

    
3
#define RUN_TEST(f) extern int f(void); f();
4

    
5
int main(void) {
6
  dragonfly_init(ALL_ON);
7

    
8
  while (1) {
9
    // RUN_TEST(testusb);
10
    // RUN_TEST(testanalog);
11
    // RUN_TEST(testeeprom);
12
    // RUN_TEST(testencoders);
13
    // RUN_TEST(testlcd);
14
    // RUN_TEST(testlights);
15
    // RUN_TEST(testmotors);
16
    // RUN_TEST(testrangefinder);
17
    // RUN_TEST(testtokenring);
18
    // RUN_TEST(testwireless);
19
    RUN_TEST(testxbee);
20
    delay_ms(1000);
21
  }
22

    
23
  return 0;
24
}