root / trunk / code / projects / test / testlights.c @ 944
History | View | Annotate | Download (486 Bytes)
1 | 944 | cmar | #include <dragonfly_lib.h> |
---|---|---|---|
2 | |||
3 | int testlights(void) { |
||
4 | dragonfly_init(ALL_ON); // orbs will work if you only init ORBS
|
||
5 | //usb_init();
|
||
6 | usb_puts("usb turned on\n");
|
||
7 | delay_ms(1000);
|
||
8 | |||
9 | orb_set_color(RED); |
||
10 | delay_ms(1000);
|
||
11 | orb_set_color(ORANGE); |
||
12 | delay_ms(1000);
|
||
13 | orb_set_color(YELLOW); |
||
14 | delay_ms(1000);
|
||
15 | orb_set_color(GREEN); |
||
16 | delay_ms(1000);
|
||
17 | orb_set_color(BLUE); |
||
18 | delay_ms(1000);
|
||
19 | orb_set_color(PURPLE); |
||
20 | delay_ms(1000);
|
||
21 | |||
22 | return 0; |
||
23 | } |
||
24 |