root / trunk / code / projects / targetPractice / beaconBot / main.c @ 1420
History | View | Annotate | Download (269 Bytes)
1 |
#include <dragonfly_lib.h> |
---|---|
2 |
|
3 |
int main(void) |
4 |
{ |
5 |
|
6 |
/* initialize components, set wireless channel */
|
7 |
dragonfly_init(ALL_ON); |
8 |
|
9 |
bom_on(); |
10 |
|
11 |
while (1) { |
12 |
|
13 |
orbs_set_color(GREEN, BLUE); |
14 |
|
15 |
delay_ms(1000);
|
16 |
|
17 |
orbs_set_color(BLUE, GREEN); |
18 |
|
19 |
delay_ms(1000);
|
20 |
|
21 |
} |
22 |
|
23 |
return 0; |
24 |
} |